new PhysicsBody() The PhysicsBody component manages the Game Objects physics body and physics enabling.It also overrides the x
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
projAABB_22DegS(x, y, obj, t) → {number} Resolves 22 Degree tile collision. Parameters
bulletKey : string The Texture Key that the Bullets use when rendering.Changing this has no effect on bullets in-flight,
parent : Phaser.Tween The Tween which owns this TweenData
game : Phaser.Game Local reference to game.
reverse() Reverses all children in this group. This operation applies only to immediate children and does not propagate to subgroups
moveLeft(speed) If this Body is dynamic then this will move it to the left by setting its x velocity to the given speed.The speed
bounds : Object Object that contains the quadtree bounds. Source code:
destroy(destroyChildren, destroyTexture) Destroys the Game Object. This
Page 59 of 100