Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Matter.Sprite
getAngularVelocity()
Description:
Gets the current rotational velocity of the body.
Returns:
Description:
The current angular velocity of the body.
Type:
number
Inherited from:
Phaser.Physics.Matter.Components.Velocity#getAngularVelocity
Since:
3.60.0
Source:
src/physics/matter-js/components/Velocity.js
(Line
106
)
Possible examples