set_object_interaction_approach()
Set Object Interaction Approach | Action ID: SetObjectInteractionApproach
Override approach behavior for one object, or inherit the global behavior.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Object Room sceneId | Choose a scene ID. May be blank. | Blank |
| Object / Character entityId | Choose an entity in the selected scene. | Blank |
| Approach Override mode | Choose: inherit, enabled, disabled. | "inherit" |
| Stop Distance (0 = global) distance | Number; decimals allowed. Range: 0.0 to 20.0. | 0.0 |
| Face Target When Override Is Enabled faceTarget | On/off. | true |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
let options = {}
options["sceneId"] = "lab"
options["entityId"] = "archive_door"
options["mode"] = "inherit"
set_object_interaction_approach(options)In use. Give the door its own enabled approach mode and a close stop distance. A small distance cannot move the character through an oversized blocking collider. Set collider dimensions independently in the object's collision settings.
