- Home /
Character Controller flies upwards when colliding a rigidbody
Hello
I've got a problem with my Character Controller (Player). Sometimes when a rigidbody hits it, the Player gets thrown up in the air. This only happens when the colliding rigidbody is moving. It happened with my enemies (kinematic rigidbodies, moved by NavMeshAgent) and with my draggable rigidbodies (also kinematic while dragging, else NOT, using the DragRigidbody.cs).
Any idea how to debug this? Would be awesome to get some suggestions.
Thanks in advance!
Any chance that your character has a Rigidbody as well as a character controller?
No, I already checked it for multiple colliders or a rigidbody :(
So How did you finally resolve this im running into the same problem?
Answer by DanielAtYatek · Jul 04, 2013 at 03:06 PM
I had the same problem with my game. I had an arm and there was a box attached to the arm. that box had colliders. When I looked down really quick or collided with a rigidbody,my character flew away. After removing the box collider it worked.
Unfortunately I don't have any colliders on my player (except the CharacterController of course). I will have to check it again or simpe reattach a CC.
Answer by imaginationrabbit · Jan 09, 2017 at 11:36 AM
Years late but I created a script that tries to fix this issue- Maybe this will help someone else- you can find it here link text
Your answer
![](https://koobas.hobune.stream/wayback/20220613102225im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Physics AddForce reduced when 3 objects are colliding 1 Answer
Turn Gravity on when collision occurs 1 Answer
CharacterContronller characters colliding with Rigidbody characters 1 Answer
Making Colliders/Triggers or Rigidbodies move a Character Controller 5 Answers
Unity 4.3 CharacterController collision with physics 2D not working 1 Answer