- Home /
CharacterController jumps when colliding with kinematic rigidbodies
Hi Everyone!
I recently found out something strange in Unity 5: Whenever a Character Controller collides with a kinematic rigidbody, it snaps up on its top and falls back down after the rigidbody has passed through it.
Sort of like this: https://youtu.be/OjGgWsAAO1s
The capsule has a character controller attached to it and the cube is a kinematic rigidbody being animated to move around. This only seems to happens if the rigidbody is kinematic and is either animated or moved manually using MovePosition().
Earlier in Unity 4, the rigidbody simply passed straight through the Character controller as expected, but this seems to be happening in Unity 5.0 and up.
I tried searching to see if anyone else is having this happen or if it's just me. But it seems no one's really addressed it. I'd really appreciate your inputs.
I know it's nothing too significant but it's making the Character Controller act strangely when doing even basic things like opening animated doors etc.
Answer by jjnieto · Aug 08, 2018 at 04:24 PM
Hi, I've experienced exactly the same behavior. I can fix it sdimply changing the Character Controllers
Slope Limit: 45 Step Offset: 0.3 Skin Width = 0.08
I think the issue is related with step offset...
Your answer
Follow this Question
Related Questions
How to setup character Collisions? 2 Answers
Limiting rigidbody physics influence on another rigidbody 0 Answers
How may I observe expected physical interactions while using Rigidbody.MoveRotation()? 1 Answer
Collision interpenetration and object getting stuck 1 Answer
How do I "remove/disable" collision? 3 Answers