Physics.P2.Body#rotateLeft()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.Body

rotateLeft(speed) This will rotate the Body by the given speed to the left (counter-clockwise). Parameters

2025-01-10 15:47:30
Physics.P2.BodyDebug#getClosestTo()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

getClosestTo(object, callback, callbackContext) → {any}

2025-01-10 15:47:30
Physics.P2.BodyDebug#subAll()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

subAll(property, amount, checkAlive, checkVisible) Subtracts the amount from the given property on all children in this group. Group

2025-01-10 15:47:30
Physics.P2#onConstraintAdded
  • References/Game Development/Phaser/P2 Physics/Physics.P2

onConstraintAdded : Phaser.Signal This signal is dispatched

2025-01-10 15:47:30
Physics.P2.Body#damping
  • References/Game Development/Phaser/P2 Physics/Physics.P2.Body

damping : number Damping is specified as a value between 0 and 1, which is the proportion of velocity lost per second. The linear

2025-01-10 15:47:30
Physics.P2.Body#getCollisionMask()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.Body

getCollisionMask() → {number} Gets the collision bitmask from the groups this body collides with

2025-01-10 15:47:30
Physics.P2#addContactMaterial()
  • References/Game Development/Phaser/P2 Physics/Physics.P2

addContactMaterial(material) → {

2025-01-10 15:47:30
Physics.P2#collisionGroups
  • References/Game Development/Phaser/P2 Physics/Physics.P2

collisionGroups :array An array containing the collision groups that have been defined in the World.

2025-01-10 15:47:30
Physics.P2#createDistanceConstraint()
  • References/Game Development/Phaser/P2 Physics/Physics.P2

createDistanceConstraint(bodyA, bodyB, distance, localAnchorA, localAnchorB, maxForce)

2025-01-10 15:47:30
Physics.P2.FixtureList#getFixtures()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.FixtureList

getFixtures(keys) Accessor to get either a list of specified fixtures by key or the whole fixture list Parameters

2025-01-10 15:47:30