Character-Realism
Character-Realism copied to clipboard
First Person Head can see through walls (v2021.2.15)
As of writing this there's currently a problem of which being in First Person leads to the player being able to look down at the ground close to a wall, thus seeing through it. Could this potentially be fixed by offsetting the Vector3 cords found in the FpsCamera module or is this an issue with the way body and head movement is tracked in the direction of the camera? I've linked a video down below that further demonstrates what I'm asking.
https://user-images.githubusercontent.com/64766411/162871626-ac39629f-81c9-4feb-8bff-844052e0b185.mp4
yeah I've got this problem too and it's too annoying
https://user-images.githubusercontent.com/78865116/215362715-4f8cf260-7f44-40ac-b572-d4800fc019fe.mp4
Hey, since this issue is caused, because of the animation that lets the player's head go through walls/objects you could just enable "CanCollide" for the character's head. This should fix the issue
Possible fix for this would be to just turn "CanCollide" on by default with the realism script.
To do it go to StarterPlayer > StarterPlayerScripts > RealismClient > Line 49 > parent.CanCollide = False > True Should look like this!