Rigidbody first-person character that can climb stairs

Useful for the FPS intro “Zombie Runner”.

Did you ever want a rigidbody fps character that can climb steps? This is a basic one that can do so. Not many frills or whistles, but it can be pushed around like a rigidbody and can climb steps like the CharacterController component. A disadvantage over the CharacterController is it’s hard to tune things like step height, ramp height.

Complete project for Unity 2021.1.2 on Microsoft One Drive here: https://1drv.ms/u/s!Ar9oADZiQciZpHyLrEFT55g7B5pa?e=LsdGJP

Go to the Sample Scene to try it out.

read through the code to see how I made it work (hint: there is no collider on the feet!!!)

1 Like

thank you for sharing this!

Privacy & Terms