Skip to main content

Overview

Enable Ray Cast controls the interaction rays from the trainee’s hands on supported headsets. Set Enable Ray Cast to True to enable rays for both hands, or False to disable them. The setting applies to both hands together. There is no separate left-hand or right-hand selection.

When to Use

  • Enable rays for selection: Allow the trainee to use hand rays to select objects during a step.
  • Disable rays after selection: Turn off the rays when the training moves to a phase that does not need them.

Parameters

Configuring the Action

1

Add Enable Ray Cast

Select the step where the ray setting should change. Open On Entry in the Properties panel and add Enable Ray Cast.
2

Choose the setting

Expand the action and set Enable Ray Cast to True or False.
You can also add the action to On Exit or a transition’s Actions list when the ray setting should change at that point.

Disabling the Rays

Add another Enable Ray Cast action and set Enable Ray Cast to False. For a selection task contained in one step, place this action in that step’s On Exit actions. If rays are needed across several steps, disable them when that phase ends.

Example: Enable Rays During a Selection Step

In a Select the Safety Hazard step, the trainee uses hand rays to select a hazard in the scene. The following step does not need the rays.
  1. In Select the Safety Hazard, add Enable Ray Cast to On Entry and set Enable Ray Cast to True.
  2. In the same step’s On Exit actions, add Enable Ray Cast and set Enable Ray Cast to False.
Both hand rays are enabled when the step begins and disabled when the trainee leaves the step.

Best Practices

  • Explain the interaction: Use Show Panel or Show Text to tell the trainee how to use the rays for the task.
  • Configure object interactions: Use Set Interactable Objects to enable or disable interactions for the selected objects as needed.
  • Plan when rays should change: Add explicit actions at the points where rays should be enabled or disabled.
  • Verify on the target headset: Check that both hand rays respond to the configured settings and that the intended objects can be selected.