Physics.P2.Body#kinematic
  • References/Game Development/Phaser/P2 Physics/Physics.P2.Body

kinematic : boolean Returns true if the Body is kinematic. Setting Body.kinematic to 'false' will make it static.

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

alignIn(container, position, offsetX, offsetY)

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

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

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

sprite : Phaser.Sprite Reference to the parent Sprite

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

angle : number The angle of rotation of the group container, in degrees. This adjusts the group itself by modifying its

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

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

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.BodyDebug#x
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

x : number The x coordinate of the group container. You can adjust the group container itself by modifying its coordinates

2025-01-10 15:47:30