Physics.P2.BodyDebug#forEachAlive()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

forEachAlive(callback, callbackContext, args) Call a function on each alive child in this group. See

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

x : number The x property of this PointProxy get and set in pixels. Source

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

createMultiple(quantity, key, frame, exists) → {array}

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

bringToTop(child) → {any} Brings the given child to the top of this group so it renders above all

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

setPostBroadphaseCallback(callback, context) Sets a callback to be fired after the Broadphase has collected collision pairs in the world

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

reset(x, y, resetDamping, resetMass) Resets the Body force, velocity (linear

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

applyForce(force, worldX, worldY) Apply force to a world point. This could for example be a point on the RigidBody surface. Applying

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

mpx(v) → {number} Convert p2 physics value (meters) to pixel scale.By default Phaser uses

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

my : number The y property of this InversePointProxy get and set in meters. Source

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

reset() Called by Phaser.Physics when a State swap occurs.Starts the begin and end Contact listeners again.

2025-01-10 15:47:30