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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.