Jul
02
2009
Added friction to moldering, both for air and ground. The equation is:
Acceleration = Acceleration - (Acceleration*u);
where u is friction. This value is different depending on whether player is on ground or in air. For example, I set u to .35 when on the ground. This prevents the player from slipping around. However, I can make this value lower to simulate ice, or higher to simulate sand.
-James

![[loading...]](http://www.projectmoldering.com/images/indicator.gif)