I want to get my camera to lead the character up/down when climbing stairs or going up slopes.
I currently lead the camera lateral-moves based on the characters xy-velocity.
However, the z-velocity will always be zero unless the character is falling.
So, question is:
- -How do I measure the character z-velocity when going up a slope?
- -Or, am I thinking about it the wrong way? Should I be measuring
normal-angles of the ground instead?
Thanks!
