SetAttachPoint()
Set Attach Point
Create or update a named attach point with position, rotation, coordinate space, bone and contact radius.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Object / Character entityId | Choose a scene entity ID. | Blank |
| Attach Point point | Name of the source attach point. | Blank |
| Position position | Destination/placement coordinates as [X, Y, Z]. | [0, 0, 0] |
| Rotation (degrees) rotation | Rotation values as a numeric array; follow the field's stated units. | [0, 0, 0] |
| Bone Name (optional) bone | Exact imported skeleton bone name, if this point follows a bone. | Blank |
| Coordinate Space space | Choose: object, model, sprite_uv. | "object" |
| Contact Radius contactRadius | Radius used to test contact around an attach point. | 0.1 |
| Enabled enabled | Explicit on/off state for the feature or response. | true |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SetAttachPoint({"entityId": "archive_door", "point": "", "position": [0, 0, 0]})In use. Define right_hand_grip on a character's hand bone. Object/model coordinates and sprite UV coordinates mean different things; choose the space deliberately. The bone name must match the imported skeleton exactly.
