Sets the angular velocity of the body.
In Arcade Physics, bodies cannot rotate. They are always axis-aligned. However, they can have angular motion, which is passed on to the Game Object bound to the body, causing them to visually rotate, even though the body remains axis-aligned.
name | type | description |
---|---|---|
value | number |
The amount of angular velocity. |
This Game Object.
Sets the angular acceleration of the body.
In Arcade Physics, bodies cannot rotate. They are always axis-aligned. However, they can have angular motion, which is passed on to the Game Object bound to the body, causing them to visually rotate, even though the body remains axis-aligned.
name | type | description |
---|---|---|
value | number |
The amount of angular acceleration. |
This Game Object.
Sets the angular drag of the body. Drag is applied to the current velocity, providing a form of deceleration.
name | type | description |
---|---|---|
value | number |
The amount of drag. |
This Game Object.