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

rotateRight(speed) This will rotate the Body by the given speed to the left (clockwise). Parameters

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

inputEnableChildren : boolean A Group with inputEnableChildren set to true will automatically call inputEnabled

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

sort(key, order) Sort the children in the group according to a particular

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

onConstraintRemoved : Phaser.Signal This signal is

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

new ContactMaterial(materialA, materialB, options) Defines a physics material Parameters

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

mask : number The CollisionGroup bitmask. Source code:

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

addAll(property, amount, checkAlive, checkVisible) Adds the amount to the given property on all children in this group. Group

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

onSpringAdded : Phaser.Signal This signal is dispatched

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

getConstraints() → {array.<Phaser.Physics.P2.Constraint>} Populates and returns an array of

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

swap(child1, child2) Swaps the position of two children in this group. Both children must be in this group, a child cannot be

2025-01-10 15:47:30