new PhysicsBody() The PhysicsBody component manages the Game Objects physics body and physics enabling.It also overrides the x
y : number The position of the Game Object on the y axis relative to the local coordinates of the parent.
<static> preUpdate() The PhysicsBody component preUpdate handler.Called automatically
body : Phaser.Physics.Arcade.Body |
<static> postUpdate() The PhysicsBody component postUpdate handler.Called automatically
x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.