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