Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Requirements

Conditions can be applied to handles to specify when they can or cannot be interacted with.

You can create custom requirements by implementing the IGrabRequirement interface in your own class. However, the SDK already includes several predefined requirements.

Requirement Description
Max Distance Allow only if the distance between the grabber and handle is less than or equal to the value
Not Held Allow only if the handle is not already held
Required Role Allow only users with the specified role (Multiplayer only)
Within Collider Allow only if the grabber is within the linked collider