protected void OnFistEnd() { Logger.Info("OnFistEnd"); fisting = false; grabbing = false; currentEffector = null; startingRotation = Quaternion.identity; }
protected void testGrabTarget() { fistStart = Time.time; var closest = FindIkEffectorAndActorInRange(); if (closest != null) { fisting = true; currentEffector = closest; startingRotation = IKHelper.GetHandRotation(hand); } else { Logger.Info("No effector in range"); } }