setMaterial(material, fixtureKey) Parameters Name Type Description
frameRate : number The frame rate the world will be stepped at. Defaults to 1 / 60, but you can change here. Also see useElapsedTime
updateBoundsCollisionGroup(setCollisionGroup) By default the World will be set to collide everything with
rotateLeft(speed) This will rotate the Body by the given speed to the left (counter-clockwise). Parameters
destroy(destroyChildren, soft) Destroys this group. Removes all children
[readonly] time : boolean The World time. Source
ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children
world : Phaser.Physics.P2 Local
game : Phaser.Game Local reference to game.
exists : boolean If exists is true the group is updated, otherwise it is skipped.
Page 2 of 35