Gets the current rotational speed of the body. Equivalent to the magnitude of its angular velocity.
Gets the current rotational velocity of the body.
Gets the current linear velocity of the physics body.
Sets the current rotational speed of the body. Direction is maintained. Affects body angular velocity.
The angular speed.
Sets the angular velocity of the body instantly. Position, angle, force etc. are unchanged.
The angular velocity.
Sets both the horizontal and vertical velocity of the physics body.
The horizontal velocity value.
Optionaly: numberThe vertical velocity value, it can be either positive or negative. If not given, it will be the same as the x value. Default x.
Sets the horizontal velocity of the physics body.
The horizontal velocity value.
Sets vertical velocity of the physics body.
The vertical velocity value.
Contains methods for changing the velocity of a Matter Body. Should be used as a mixin and not called directly.