I am writing a really simple game with a scene (horizontal plane) and a human moving to the right of the plane (watching the simulation from the +z axis).
The scene contains some trees, which I am moving towards -x axis in order to create the animation effect (by adding a float to their current position).
The human just walks or runs with increasing/ decreasing the angular velocity of one of his legs.
The question comes down to, how can I combine this two entities in order to correlate the change of the speed of the human with the change of the variable that is responsible for making the animation of the scene?
Should I convert the angular velocity to velocity?