getFirstAlive(createIfNull, x, y, key,
createLockConstraint(bodyA, bodyB, offset, angle, maxForce)
sleepMode : number How to deactivate bodies during simulation. Possible modes are: World.NO_SLEEPING, World.BODY_SLEEPING and World
forEachExists(callback, callbackContext, args) Call a function on each existing child in this group.
[readonly] physicsType : number The const physics body type of this object.
moveRight(speed) If this Body is dynamic then this will move it to the right by setting its x velocity to the given speed.The
align(width, height, cellWidth, cellHeight, position, offset) → {boolean}
createMultiple(quantity, key, frame, exists) → {array}
contains(child) → {Boolean} Determines whether the specified display object is a child of the D
pause() Pauses the P2 World independent of the game pause state. Source code:
Page 14 of 35