setRectangleFromSprite(sprite) → {p2.Rectangle} Clears any previously
getByName(name) → {any} Searches the Group for the first instance of a child with the name
useElapsedTime : boolean If true the frameRate value will be ignored and instead p2 will step with the value of Game.Time.physicsElapsed
classType : Object The type of objects that will be created when using
x : number The x coordinate of this Body. Source code:
setPostBroadphaseCallback(callback, context) Sets a callback to be fired after the Broadphase has collected collision pairs in the world
x : number The x property of this PointProxy get and set in pixels. Source
reset(x, y, resetDamping, resetMass) Resets the Body force, velocity (linear
moveUp(speed) If this Body is dynamic then this will move it up by setting its y velocity to the given speed.The speed is represented
moveBackward(speed) Moves the Body backwards based on its current angle and the given speed.The speed is represented in pixels
Page 15 of 35