Enter

Enter is a trigger that fires when a user or other object approaches the object with this trigger.

Basics

Icon-Trigger-Enter
Use the Enter trigger to make an object react when the user or another object approaches this object (for moving away objects use the Leave trigger).

For example, you can use this trigger to check if an object has been placed correctly or if a learner has entered the correct location in the training.

Tags are used to identify the objects to which the trigger should respond. So assign the same tags to the trigger as to the objects it should react to.

The tags are evaluated according to a logical OR, i.e. it is enough if one of the tags of the trigger matches one of the tags of the object.

You can assign multiple tags to the trigger, it will then react to all objects that have the same tag.

By default, the tag is User - so if you want to react to the user's approach, you don't need to do any further configuration.

If you do not want to react to the user, delete the User tag.

This trigger works in such a way that the distance from the zero point of the trigger object to the zero point of the target object is measured. If the distance is less than the set distance (default 50 cm), the trigger will fire.

Therefore, please note: If you want the trigger to be released by a user, the zero point of the object with the trigger should be at a height of approx. 1.70m, i.e. at the head height of the user.

The Enter trigger is available for all "corporeal" objects, i.e. for all assets except environments and for all standard assets.

Working with the Trigger Enter

Add Trigger Enter

Open the Trigger hover panel by clicking + Add Trigger in the side panel of a selected object.

add-trigger

The Hover Panel appears on the right edge of the window in front of the Side Panel.

Click Enter to attach the trigger to the selected training object.

enter-trigger-menu-item

Add or Remove Tags

You use Tags to determine which objects the Enter trigger reacts to.

Set distance

The Distance property allows you to set the distance (in cm) at which the trigger will fire.

Technically, the distance refers to the distance between the zero points of the two objects involved.

enter-trigger-distance