Problem in Charachter Controller in unity

Viewed 19

Problem Image

Hey guys, i have a problem in my Character controller in unity. I have a script joint with "Body" Component to rotate the object.
The problem is in the character controller component and the capsule collider which is that when i am editing things, collider stays in the object but when i play the game, it seperates from the object due to the two colliders colliding as seen in the pic above and the object rotate on controller collider's axis.

If i remove the capsule collider, my object falls down and i need character controller to move my object..

1 Answers

you could try removing the player's collider and putting the controller collider inside the player, just make sure to get the sizes correct if you decide to do that.

Related