Proximity

Sylvain Joly

Search Knowledge Base by Keyword

You are here:

Proximity

 

This Condition can be used every time objects (or more precisely, its colliders) need to collide with each other or with the user himself.

SpatialStories for VR

Valid if the specified list of objects are in proximity (it means that the Proximity collider of each object is in collision with each other).

You can specify any object in the scene. If you want to detect when the concerned IO is in proximity with your user, choose Head(IO) (inside the camera) as a colliding object.

  • OnEnter / OnExit lets you define whether you want the condition to validate when Proximity zones of specified IOs are entering or exiting collision.
  • If Require All is checked, all the specified objects in this list have to be in proximity with each other. If not checked, as soon as two of them are in proximity, this condition will be validated.

 

SpatialStories for AR

Valid if the specified list of objects are in proximity (it means that the Proximity collider of each object are in collision with each other).
You can specify any object in the scene. If you want to detect when the concerned IO is in proximity with your user, choose Head(IO) (inside the camera) as colliding object.

  • OnEnter: The condition is valid when Proximity zones collide, the moment they enter in collision
  • OnStay: The condition is valid when Proximity zones collide and stay in collision
  • OnExit: The condition is valid when Proximity zones stop colliding, when they exit from each other’s collider.
  • If Require All is checked, all the specified objects in this list have to be in proximity with each other. If not checked, as soon as two of them meet the condition it will be validated.