Right now the only thing I could think of is to record the position and heading of the weapon during the appropriate animations, and then move the beam of light to match them, but I foresee some problems with this:
- not sure if I can keep the the beam movements synced with the animations
- the light beam would not match with any alternative animations that the player uses
- the light beam would not match if the player goes ragdoll
Any ideas?