Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.StaticBody
<readonly> allowGravity: boolean
Description:
A constant
false
value expected by the Arcade Physics simulation.
Type:
boolean
Default:
false
Since:
3.0.0
Source:
src/physics/arcade/StaticBody.js
(Line
226
)
Possible examples