new CollisionGroup(bitmask) Collision Group Parameters Name
onBodyAdded : Phaser.Signal This signal is dispatched
enableBody : boolean If true all Sprites created by, or added to this group, will have a physics body enabled on them. If
addShape(shape, offsetX, offsetY, rotation) → {p2
flatten(array) A helper to flatten arrays. This is very useful as the fixtures are nested from time to time due to the way P2 creates
setCategory(bit, fixtureKey) Parameters Name Type Description
x : number The x coordinate of the group container. You can adjust the group container itself by modifying its coordinates
new PrismaticConstraint(world, bodyA, bodyB, lockRotation, anchorA, anchorB,
addCircle(radius, offsetX, offsetY, rotation) →
applyDamping(dt) Apply damping, see http://code.google.com/p/bullet/issues/detail?id=74 for details. Parameters
Page 28 of 35