Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

OnGazeEnter/OnGazeLeave

I have a mesh collider that GazeManager is hitting and I'm expecting OnGazeEnter/OnGazeLeave to be firing at that same level but they are not. My mesh collider is a couple levels down in my 3D model but at the same level of the script i have the Gaze event methods at.

I've tried putting a script at the top level of the 3D model as well but those are not getting fired either. I can confirm that the "SendMessage" method is being called inside the HoloToolkit GazeManager class but i can't seem to be able to intercept the message at any level.

What objects are those events sent to? Where to put my script to intercept the call?

Answers

  • Options
    Jimbohalo10Jimbohalo10 ✭✭✭

    Most of the code has changed as of 11-May-2016. There is an article on debugging new GazeManager in Holograms 211 Gestures in Discussion called

    Tutorial: Debugging with Holograms 211 with update code library

  • Options

    @nash the SendMessage is sent to the focused game object. If there is no script on that focused game object which handles the events then they will not get triggered. Also please ensure your script function names will match the ones being coded in SendMessage calls.

Sign In or Register to comment.