• Motion


acc: Vector

The acceleration of entity in pixels per second^2

angularVelocity: number

The angular velocity which is how quickly the entity is rotating in radians per second

inertia: number

Inertia can be thought of as the resistance to motion

scaleFactor: Vector

The scale rate of change in scale units per second

torque: number

The amount of torque applied to the entity, angular acceleration is torque * inertia

vel: Vector

The velocity of an entity in pixels per second