SetInteractionApproachEnabled()
Enable / Disable Automatic Interaction Approach
Set the global runtime approach-to-target behavior, including distance and whether to face the target.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Automatic Approach Enabled enabled | Explicit on/off state for the feature or response. | true |
| Default Stop Distance distance | Number; decimals allowed. Range: 0.0 to 20.0. | 0.35 |
| Face Target After Approaching faceTarget | On/off. | true |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SetInteractionApproachEnabled({"enabled": true, "distance": 0.35, "faceTarget": true})In use. Enable walking up to interactive props, then choose a modest stop distance. If the player stops too far away, inspect both approach settings and the physical collider. The event volume is a separate object.
