distanceToPointer(displayObject, pointer, world) → {number}
customSeparateY : boolean This flag allows you to disable the custom y separation that takes place by Physics.Arcade.separate.
new TilemapCollision() The Arcade Physics Tile map collision methods. Source code:
y : number The y coordinate from which bullets are fired. This is the same as Weapon.fireFrom.y, andcan be overridden
bulletSpeed : number The speed at which the bullets are fired. This value is given in pixels per second, andis used to set
destroy() Destroys this Body. First it calls Group.removeFromHash if the Game Object this Body belongs to is part of a Group
trackRotation : boolean If the Weapon is tracking a Sprite, should it also track the Sprites rotation?This is useful for
setSize(width, height, offsetX, offsetY) You can modify the size of the
isMoving : boolean Set by the moveTo and moveFrom methods. Source
checkCollision : Object Set the checkCollision properties to control for which bounds collision is processed.For example
Page 12 of 21