private void ApplyFriction() { Vector2f direction = -Vector2fLibrary.Normalize(Velocity); Acceleration += direction * (Mass * frictionFactor); }
private void AddFriction() { Vector2f direction = Vector2fLibrary.Normalize(Velocity); Acceleration += -direction * Mass; }