How to make my character step over a collider?

Hello guys,

Thank you for reading this!

I have a problem, my character moves with the method rigidbody.linearVelocity(), when he encounter a small rigidbody on the ground ( like a rock or anything small but with a rigidbody) he doesn’t step over it but move to the left or right a little and never get over the obstacle.

Is there a way to handle this problem without kicking off the rock’s rigidbody?

Probably coz the collider is a mesh or round, so the character slips toward the more logical way (considering the gravity) so: or you use a square collider, or you check the collision and make it step over it by code. Someone can correct me if i’m wrong :slight_smile:

Your player usually should be capsule.

True @mikefinch i meant the collider of the stone of course…i didn’t specified that :stuck_out_tongue:

@ayrin, @mikefinch,

Yes the ground collider is a mesh and my character’s one wasn’t a capsule, i’ll try with it and if it doesn’t work i’ll do it by code.

Thank you for your answer :slight_smile: !