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

reverse(speed) Applies a force to the Body that causes it to 'thrust' backwards (in reverse), based on its current angle and the given

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

setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters

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

solveConstraints : boolean Enable/disable constraint solving in each step. Source

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

setMaterial(material, bodies) Sets the given Material against all Shapes owned by all the Bodies in the given array. Parameters

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

applyDamping : boolean Enable to automatically apply body damping each step. Source

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

onBeginContact : Phaser.Signal Dispatched when a first

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

cursor : DisplayObject The current

2025-01-10 15:47:30
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.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