You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NVRInteractable has BeginInteraction and EndInteraction methods, but despite this, OnInteractionStart and OnInteractionEnd only exist in the NVRInteractableItem class.... so you can't have a common behavior for an NVRInteractableRotator and an NVRInteractableItem without re-implementing the events in the rotator class. Also, NVRInteractableItem has an OnHovering event (called every frame) but not an OnBeginHover/OnEndHover event. What if you want to trigger a visual outline to an object when hovering over it? It's a mess. Also, it would be nice if the interaction events were of type UnityEvent<NVRHand>, passing a reference of the interacting hand. Would make it easier to trigger haptic pulses (if they would work).
The text was updated successfully, but these errors were encountered:
NVRInteractable has BeginInteraction and EndInteraction methods, but despite this, OnInteractionStart and OnInteractionEnd only exist in the NVRInteractableItem class.... so you can't have a common behavior for an NVRInteractableRotator and an NVRInteractableItem without re-implementing the events in the rotator class. Also, NVRInteractableItem has an OnHovering event (called every frame) but not an OnBeginHover/OnEndHover event. What if you want to trigger a visual outline to an object when hovering over it? It's a mess. Also, it would be nice if the interaction events were of type UnityEvent<NVRHand>, passing a reference of the interacting hand. Would make it easier to trigger haptic pulses (if they would work).
The text was updated successfully, but these errors were encountered: