Creating a Trigger

Find it: Click the Trigger Creator button in the Sound Editor, Keyframe Animator, or Script Editor:

Sounds, animations, and scripts are all activated by some kind of trigger, which is a special node or a sensor that responds to certain types of events. The Trigger Creator button is red when the trigger needs to be created. After the trigger has been created, the button turns gray, and the handle on the trigger is depressed.

The Trigger Creator menu offers the following choices:

Collision Node
Activates when the user bumps into an object.

World Entry Script
Activates when the VRML file is loaded.

Proximity Sensor
Activates when the user approaches a certain location. (This sensor has a visible icon associated with it.)

Touch Sensor
Activates when the user clicks the specified object.

Viewpoint Binding
Activates when the browser binds to the specified viewpoint.

Visibility Sensor
Activates when a certain area in the world is visible. (This sensor has a visible icon associated with it.)

Icons

Use the View > Show/Hide Iconic Objects option to toggle display of the proximity and visibility sensor icons. The proximity sensor icon is a purple cube that you can scale, rotate, and translate as you would any manipulator. The sensor is activated whenever the user enters the purple cube. The visibility sensor is a red cube that you can scale, rotate, and translate. The sensor activates when the red cube is visible.

Jump to: