rotation : number
The Body's rotation in degrees, as calculated by its angularVelocity and angularAcceleration. Please understand that the collision Body
itself never rotates, it is always axis-aligned. However these values are passed up to the parent Sprite and updates its rotation.
- Source code: physics/arcade/Body.js (Line 85)
Please login to continue.