getBounds(targetCoordinateSpace) → {Rectangle} Retrieves the global
new Material(name) A P2 Material. \o/ ~ "Because I'm a Material girl" Parameters
createBody(x, y, mass, addToWorld, options, points) → {
updateCollisionMask(shape) Updates the collisionMask. Parameters
getBottom() → {any} Returns the child at the bottom of this group. The bottom child the child
[readonly] cursorIndex : integer The current index of the Group cursor. Advance it with Group
[readonly] id : number The Body ID. Each Body that has been added to the World has a unique
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
data :p2.LinearSpring The actual p2 spring object. Source code:
y : number The y coordinate of the group container. You can adjust the group container itself by modifying its coordinates
Page 13 of 35