Weapon#bulletAngleVariance

bulletAngleVariance : number

This is a variance added to the angle of Bullets when they are fired.
If you fire from an angle of 90 and have a bulletAngleVariance of 20 then the actual
angle of the Bullets will be between 70 and 110 degrees. This is a quick way to add a
great 'spread' effect to a Weapon.

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

Please login to continue.