Hello everyone!
When I use the RigidBodyFPSController from the Standard Assets and walk backwards into a wall, the controller gets stuck. I can’t walk or jump anymore.
Does anyone know a solution to fix this issue? Or could I be doing something wrong?
When going near to the edge of the door (area marked yellow), I will lose control about the character controller’s position, too. So I cannot move like I want, nor can I jump. At the same time, the character controller will be pushed into the green corner by itself. When it reaches the corner, it will stop, but I won’t regain control.
EDIT2:
Alright, I didn’t solve the problem, but I know some more details now.
It has something to do with the collider I used. I assigned a mesh collider to the whole room object(, which worked fine with the character controller in Unity 4.)
For testing purposes, I cut the whole mesh into pieces so that I can use 3D box colliders. After doing so, I cannot reproduce the issue.
TL;DR:
Unity 5’s RigidBodyFPSController seems to have problems with mesh colliders.
Has this been resolved yet? Right now all i can do is use addrelative force to counter this. It seems when going into a corner Grounded becomes false. Probably something to do with the spherecast
In newer versions of the Standard Assets, you can try setting Shell Offset to 0.1 in the Advanced Settings of Rigidbody First Person Controller (script component).