Friction
Top  Previous  Next


The friction property acts to simulate 'real' friction by reducing the velocity by a specified % per second.

It can be used to simulate things rolling to a stop.

It is different to acceleration, as it works by modifying velocity by a percent instead of a fixed value.

Example
An object has _vX = 100, _fX = 10:

·after 1 second, _vX = 90 (100 - 10%)  
·after 2 seconds, _vX = 81 (90 - 10%)  
·after 3 seconds, _vX = 72.9 (81 - 10%).