setSensor(value, fixtureKey) Parameters Name Type Description
setMask(bit, fixtureKey) Parameters Name Type Description
hasProperty(child, key) → {boolean} Checks if the child has the given property. Will scan
removeChildAt(index) → {DisplayObject}
createCollisionGroup(object) Creates a new Collision Group and optionally applies it to the given object
subAll(property, amount, checkAlive, checkVisible) Subtracts the amount from the given property on all children in this group. Group
getContactMaterial(materialA, materialB) → {
addPlane(offsetX, offsetY, rotation) → {p2.Plane}
addBody(body) → {boolean} Add a body to the world. Parameters
damping : number Damping is specified as a value between 0 and 1, which is the proportion of velocity lost per second. The linear
Page 3 of 35