Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.Body
allowRotation: boolean
Description:
Whether this Body's
rotation
is affected by its angular acceleration and angular velocity.
Type:
boolean
Default:
true
Since:
3.0.0
Source:
src/physics/arcade/Body.js
(Line
174
)
Possible examples