lereel / toolmovementdetection Goto Github PK
View Code? Open in Web Editor NEWA simple C# script (Unity monobehaviour) that check the movement of a tool (or any gameobject this script is implemented on) based on its rotation and trigger a SphereCast when it corresponds to given axises.