collidesWith :array Array of CollisionGroups that this Bodies shapes collide with. Source
angle : number The angle of the Body in degrees from its original orientation. Values from 0 to 180 represent clockwise rotation;
static : boolean Returns true if the Body is static. Setting Body.static to 'false' will make it dynamic.
rotation : number The angle of rotation of the group container, in radians. This will adjust the group container itself
setProperty(child, key, value, operation, force) → {boolean}
applyImpulseLocal(impulse, localX, localY) Apply impulse to a point local to the body. This could for example be a point on the
thrustLeft(speed) Applies a force to the Body that causes it to 'thrust' to the left, based on its current angle and the given speed
[readonly] physicsType : number The const physics body type of this object.
setRectangleFromSprite(sprite) → {p2.Rectangle} Clears any previously
createRotationalSpring(bodyA, bodyB, restAngle, stiffness, damping)
Page 15 of 35