GentleMoa / Spellcraft-VR

A passion VR project created to test out a rune-based magic crafting system similar to the one seen in Arx Fatalis.
0 stars 0 forks source link

Implement timeout after a rune has been attempted to be drawn, in this cooldown: no new spellnodes can be added to the spellnodeSequence (same duration as the lineRenderer remains after rune check) #21

Closed GentleMoa closed 8 months ago

GentleMoa commented 8 months ago

The LineRenderer lingers for 2.0 (/2.1) seconds after the rune recognition is called. Introduce a lock bool, which prevents any new spellnodes from being added to the spellnodeSequence for the same duration after a rune recognition.