Zoe for Unity: Help Center
  • Zoe for Unity - Help Center
  • Installation
    • Setting up Unity
    • Installing Zoe
    • XR Settings
    • Basic Scene
  • Getting Started
    • Interaction Rig
      • Create an Interaction Rig
      • Structure & Settings
    • Testing without a headset
    • Navigation modes
  • Adding interactivity
    • Overview
    • Interactive Objects
      • Creating IOs
      • Structure of IOs
      • IO Setup
    • Interactions
      • Interaction Setup
      • Conditions
        • Duration (parameter)
        • Gaze
        • Point and Click
        • Proximity
        • Touch
        • Manipulate
        • Inputs
        • Drop
        • Approach
        • Collision
      • Actions
        • Delay (parameter)
        • Scale
        • Rotate
        • Rotate Around
        • Translate
        • Activate
        • Audio
        • Animation
        • Physics
        • Change Material
    • Drag & Drop system
    • API - Custom Scripts
      • Create your own Condition
      • Create your own Action
  • Multiplayer
    • Installation
    • Photon Setup
    • Scripting Symbols
    • Get Started
    • Avatars
    • Multiplayer Conditions
    • Multiplayer Actions
  • Exporting Your App
    • Exporting your .apk for Quest
    • Sideloading your .apk on Quest
  • Lessons
    • Getting Started
      • Interactive Objects
      • Actions 01
      • Actions 02
      • Conditions 01
      • Conditions 02
  • MX PEN INTEGRATION
    • Installation
    • MX Pen Input Mapping
    • Changing the default MX Ink Visual
  • Swapping the MX Inc Visual In Play Mode
Powered by GitBook
On this page
  1. Adding interactivity
  2. Interactions
  3. Conditions

Gaze

Last updated 9 months ago

Gazing at an object in VR is pretty much the same as looking at an object in the real world. This condition checks if the user is looking at a specific IO.

  • Target Object: the object (IO) you want to check if the user is looking at or not.

  • Mode: if Mode is set to Gaze_At, it means the user looks at the object. If Mode is set to Gaze_Away, it means the user looks away from the object. *

  • Minimum duration required: check details .

The Gaze condition uses the Gaze Collider of the Target IO (it checks if the raycast coming from the camera is colliding with this collider).

Gaze_At is not detected if at the moment the interaction is active and checks the condition the user is already looking at the IO.

here