Hi, I’m looking for some help in digesting the complicated conundrum that the Invisicam PlayerModule is to a new programmer such as myself.
I want to make the function of the code less “sensitive”, as in, it should either only take into account the player’s torso when checking for obstructed body parts, or it should need more of the total body to be covered in order to count as obstructed.
Since I’m not sure how the code itself functions, I cant say which way is best. Some help in figuring this out would be appreciated, thanks!
You’d have to make it yourself of find the coreScript which is the cause of it.
Then you’d have to send out less raycasts or only send them towards the torso or the middle of your screen.
I think the best solution is to code your own custom camera.
You can use UserInputService.InputChanged to listen to mouse movement and then use raycasting to hide things that should be transparent.