My Character Runs through Stairs could anyone help me?

My AI Characters are running through stairs even tho the path is correctly generated?



Hi

You need to enable the gravity option on the movement script and make sure the layer mask includes the floor and the stair.

Thanks for your reply. I tought i already fixed it by adding a CharacterController to it but that caused another problem that i dont want the AI to interact with Player Rigidbody/Collider.

Your hint fixed it. Thanks

1 Like