tags:

views:

54

answers:

1

I would like to know the algorithm for detecting uneven terrain and rotating the feet to match the plane of the land as well as hips and legs. We are writing a game where this will be very key.

+3  A: 

The solution you're looking for is inverse kinematics.

Noah Witherspoon
The "kinematic chain" in this example would be the bones and joints of the character.
Merlyn Morgan-Graham