Beam Attack Using Spellcasting Gestures

In many video games involving spellcasting, your character uses gestures for different spells.  I thought it would be neat to implement gesture based spellcasting with the HTC Vive controllers.  You can see my first implementation here.  I’ll put together another video shortly with the latest event driven implementation, which is much more generic so that it will work with many other ideas for gestures.

In order to cast this beam attack, I drew from Dragonball Z for inspiration.  If you put your controllers down by your waist as Goku does when casting his Kamehameha attack, then click, then move the controller out in front of you and click again, you will shoot out the beam.