Collision Problem using OnControllerColliderHit :(

Hello i have a problem OnControllerColliderHit , it works fine when the object(gem) is on my front it destroys smoothly … But when i switched to the side my character became stuck in the side of the gem object … What is the problem ? I don’t know please help me :frowning: Btw i’m using Character Controller for my character and box collider for the gem object … Please help thanks :frowning:

and when i’m stuck the gem doesn’t destroyed … the collision is not consistent , how can i fix this :frowning:

Why are you using OnControllerColliderHit instead of a simple OnTriggerEnter?

1 Like