Weapon#bulletRotateToVelocity

bulletRotateToVelocity : boolean

Bullets can optionally adjust their rotation in-flight to match their velocity.
This can create the effect of a bullet 'pointing' to the path it is following, for example
an arrow being fired from a bow, and works especially well when added to bulletGravity.

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

Please login to continue.