Skip to main content

Triggering Actions & Event Sequences

Triggering actions and event sequences in XR Creator Studio allows you to create dynamic interactions, enabling objects to respond to user input, animations, and environmental changes. These triggers can be proximity-based, time-based, or user-activated, making them ideal for interactive experiences, storytelling, and game-like mechanics within the Metaverse.

Understanding Triggers

A trigger is an event-based condition that activates an action when met. Triggers can be based on:

  • User interaction: Clicking, pressing a button, or entering an area.
  • Proximity detection: When a user approaches an object.
  • Timed events: Sequential actions that happen after a delay.

How to Set Up Triggers in XR Creator Studio

Proximity-Based Triggers

Objects, images, audios, and videos can respond when users enter a specific radius, making them ideal for interactive elements like automatic doors, pop-up messages, or ambient effects.

How to Enable Proximity Activation:

  1. Select an object in the Viewport.
  2. Go to the Properties Panel.
  3. Enable "Activate by Proximity".
  4. Customize the Proximity Radius to determine how close a user must be to trigger the action.

Example: Using Proximity Triggers for Objects & MP3 Files

You can combine an MP3 file with a 3D object to create interactive sound effects.

  1. Ensure "Enable Audio by Proximity" is turned on in the Properties Panel for both assets.
  2. Set the proximity radius so the sound effect activates when users approach.

📌 Important:
When using videos or audio files, disable autoplay and loop options in the Properties Panel, as media should only play when triggered by proximity.

🔹 Pro Tip: Use proximity-activated voice guides for museum exhibits, tutorials, or interactive storytelling.

Linked Sequences

Linked Sequences allow objects to trigger animations or the appearance of other assets once an event occurs.

  • Supports interactive storytelling
  • Works with multiple asset types

proximity element in Creator

How to Set Up Linked Sequences:

  1. Select the main object that will trigger another asset.
  2. In the Properties Panel, locate the "Add Model Sequence" dropdown.
  3. Choose the next model to be activated after the main object finishes its action.
  4. In the Hierarchy Panel, the second model will appear as a child of the first model.

proximity element in Creator

How to Enable Destroy on Finish:

  1. Select the object that will be destroyed.
  2. Go to the Properties Panel and locate the "Destroy on Finish" dropdown.
  3. Choose the object that will disappear when the main object completes its action.

Example: Destroying an Object After an Animation Ends

If an animation or audio plays based on proximity, the object will only be destroyed if the animation/audio has started. This means the proximity trigger must be activated first.

📌 Important: If the object is inside a proximity-triggered event, it won’t be destroyed until the user activates the proximity trigger and the animation/audio completes.

Example 1: Destroying the Same Object After Animation Ends

If you want the same object to be destroyed once its animation or media finishes, select it in its own dropdown.

Destroy Object

Example 2: Destroying a Secondary Object When Another Finishes

If you want another object to be destroyed once the main object's animation/audio finishes, select that object in the dropdown.

Destroy Another Object

🔹 Pro Tip: This feature is useful for creating temporary interactive objects, self-destructing portals, or progressive scene changes.