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.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.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.FixtureList#setMaterial()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.FixtureList

setMaterial(material, fixtureKey) Parameters Name Type Description

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

moveForward(speed) Moves the Body forwards based on its current angle and the given speed.The speed is represented in pixels per

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

frameRate : number The frame rate the world will be stepped at. Defaults to 1 / 60, but you can change here. Also see useElapsedTime

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

getRandom(startIndex, length) → {any} Returns

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#clearCollision()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.Body

clearCollision(clearGroup, clearMask, shape)

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