Replies: 3 comments 3 replies
-
You can use IsGazeHovered. |
Beta Was this translation helpful? Give feedback.
-
@Zee2 Thanks for responding! In the statevisualizer I hooked up the same animation to PassiveHover as the one in ActiveHover, but it still doesn't trigger any animation with just gaze. I did validate that IsGazeHovered is firing on the PressableButton, I'm just not sure how to get that event to trigger the hover animation on the statevisualizer. I want to use the same playable api. Is that possible, or do I need a completely separate animation setup to do this? |
Beta Was this translation helpful? Give feedback.
-
The animation should work in PassiveHover on StateVisualizer; that's actually how we already drive the subtle content "bump" that appears when you gaze at a button without your hand up. If that didn't work, you wouldn't see any of the buttons animate when you gazed at them. Curious what is causing that not to work for you... have you tried removing your animation from ActiveHover and putting it in PassiveHover exclusively? |
Beta Was this translation helpful? Give feedback.
-
Currently GazeActiveHover is only triggered if a hand is tracked. How do I trigger these state events on buttons without tracking the hand.
HL2
Unity editor version
2020.3.38f1
Mixed Reality Toolkit release version
MRTK3.pre11
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions