diff --git a/src/Snug/SnugModule.cs b/src/Snug/SnugModule.cs index fd23f3e..7388e51 100644 --- a/src/Snug/SnugModule.cs +++ b/src/Snug/SnugModule.cs @@ -234,12 +234,6 @@ public override void OnEnable() SuperController.LogError($"Embody: Failed to initialize Snug. {exc}"); enabledJSON.val = false; } - - if (!_lHand.active || !_rHand.active) - { - SuperController.LogError($"Embody: Failed to initialize Snug hands. No motion tracker to bind to. If using Leap Motion, make sure both hands are visible when you activate Embody."); - enabledJSON.val = false; - } } private void EnableHand(SnugHand hand, string motionControlName) @@ -340,6 +334,8 @@ private void ProcessHand(SnugHand hand) var motionControlPosition = motionControl.currentMotionControl.position; var visualCueLinePoints = hand.visualCueLinePoints; + if (!hand.motionControl.currentMotionControl.gameObject.activeInHierarchy) return; + // Find the anchor over and under the controller ControllerAnchorPoint lower = null; ControllerAnchorPoint upper = null;