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

Proximity

Last updated 8 months ago

Proximity is the nearness in space between at least 2 objects. This condition checks if (at least) two objects are near one from each other.

  • Mode: if you select ENTER, it means objects have to be close from one another at least at the specified distance (or below). If you select EXIT, it means objects need to be far from each other, at a distance above than the distance set.

  • Max distance: distance, in meters, between objects for the condition to be valid. Objects should be either at this distance or below to validate theENTER or be above to validate EXIT.

Note that the condition uses the Proximity colliders of the given IOs , the distance is calculated from the center of each collider but you can choose to calculate from the edges.

  • Objects in proximity: objects () that need to be in proximity (at least two). You can add more than two objects, then if Require All is checked, all the specified objects in this list are required to validate the condition. If Require All is not checked, only one combination required for validating the condition.

Minimum duration required: check details .

IO
here