Physics.P2#onContactMaterialAdded
  • References/Game Development/Phaser/P2 Physics/Physics.P2

onContactMaterialAdded : Phaser.Signal This signal

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

getIndex(child) → {integer} Get the index position of the given child in this group, which should

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

moveUp(child) → {any} Moves the given child up one place in this group unless it's already at the

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

addToWorld() Adds this physics body to the world. Source code:

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

applyImpulse(impulse, worldX, worldY) Apply impulse to a point relative to the body.This could for example be a point on the Body

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

addPhaserPolygon(key, object) → {Array} Reads the shape data from a physics data file stored in

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

new GearConstraint(world, bodyA, bodyB, angle, ratio) Connects two bodies

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

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

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

sendToBack(child) → {any} Sends the given child to the bottom of this group so it renders below

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

new PointProxy(world, destination) A PointProxy is an internal class that allows for direct getter/setter style property access to Arrays

2025-01-10 15:47:30