Entity.friction

Velocity is multiplied by (1 - friction) every tick

class Entity
float friction;

Meta