How to use UniversalCamera climb the stairs?

The UniversalCamera what i tested that it only can be walked on plane or slope, that will be collided with ‘stairs’. How can i climb the stairs?

That depends on the stairs size and your collider size. If the stairs are small enough for the collider to “climb” on top of them, then you will go up the stairs. Otherwise you will collide against it as if it was a wall. It depends on your scene configuration (and gravity settings).

2 Likes

You can use an invisible collision mesh instead of your stair’s mesh, here an example: Stairs move and down - #2 by Vinc3r

3 Likes

The above question’s topic also has a pretty nice playground example with stairs! Stairs move and down - #6 by Wingnut

4 Likes