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

[readonly] id : number The Body ID. Each Body that has been added to the World has a unique

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

type : number The type of physics system this body belongs to. Source code:

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

[readonly] cursorIndex : integer The current index of the Group cursor. Advance it with Group

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

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters

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

getGroup(groupID) Accessor to get a group of fixtures by its group index. Parameters

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

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

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

centerX : number The center x coordinate of this Group. It is derived by calling getBounds, calculating the

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

moveDown(speed) If this Body is dynamic then this will move it down by setting its y velocity to the given speed.The speed is

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

onContactMaterialRemoved : Phaser.Signal This signal

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

customSort(sortHandler, context) Sort the children in the group according to custom sort function.

2025-01-10 15:47:30