Weapon#bulletAngleOffset

bulletAngleOffset : number

An optional angle offset applied to the Bullets when they are launched.
This is useful if for example your bullet sprites have been drawn facing up, instead of
to the right, and you want to fire them at an angle. In which case you can set the
angle offset to be 90 and they'll be properly rotated when fired.

Source code: plugins/weapon/WeaponPlugin.js (Line 153)
doc_phaser
2017-02-14 11:19:40
Comments
Leave a Comment

Please login to continue.