moveLeft(speed) If this Body is dynamic then this will move it to the left by setting its x velocity to the given speed.The speed
debug : boolean Enable or disable debug drawing of this body Source code:
damping : number Damping is specified as a value between 0 and 1, which is the proportion of velocity lost per second. The linear
rotateLeft(speed) This will rotate the Body by the given speed to the left (counter-clockwise). Parameters
addPlane(offsetX, offsetY, rotation) → {p2.Plane}
setCircle(radius, offsetX, offsetY, rotation)
moveDown(speed) If this Body is dynamic then this will move it down by setting its y velocity to the given speed.The speed is
shapeChanged() Updates the debug draw if any body shapes change. Source code:
clearShapes() Removes all Shapes from this Body. Source code:
createBodyCallback(object, callback, callbackContext) Sets a callback to be fired any time a shape in this Body impacts with a shape
Page 2 of 10