set_attach_section_rules
Set attach and detach transform rules for a Sequencer 3D-attach section to control how an actor's location, rotation, and scale are preserved when attachment starts or ends.
Instructions
Set the attach/detach transform rules on a Sequencer 3D-attach section (created by add_attach_track). The 6 rules (location/rotation/scale x attach/detach) control how the attachee's transform is preserved when the attach begins/ends. Only the supplied rules change (applied_count) and all 6 are read back. The section is resolved like get_section_info (binding_guid + track_index + section_index).
Returns: { sequence_path: string, attach_rules: object, applied_count: int, applied: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_type | No | Optional class filter to pick the track ("transform"|"float"|"bool"|"vector"|"color"|"visibility"|"audio"|"event"|"fade"|"skeletalanimation"|"subsequence"|"cameracut"|"property"); used when track_index is omitted. | |
| track_index | No | Optional index into the binding's tracks (default 0). | |
| binding_guid | No | GUID of the attachee binding that owns the attach track. | |
| section_index | No | Optional index of the section on the track (default 0). | |
| sequence_name | No | Name of the target Level Sequence (or sequence_path). | |
| sequence_path | No | Asset path of the target Level Sequence (alias for sequence_name). | |
| binding_name_or_guid | No | Alias for binding_guid, read only when binding_guid is absent; it must also be a GUID string, a bound object's name is not resolved. | |
| attachment_scale_rule | No | Optional EAttachmentRule: KeepRelative | KeepWorld | SnapToTarget. | |
| detachment_scale_rule | No | Optional EDetachmentRule: KeepRelative | KeepWorld. | |
| attachment_location_rule | No | Optional EAttachmentRule: KeepRelative | KeepWorld | SnapToTarget. | |
| attachment_rotation_rule | No | Optional EAttachmentRule: KeepRelative | KeepWorld | SnapToTarget. | |
| detachment_location_rule | No | Optional EDetachmentRule: KeepRelative | KeepWorld. | |
| detachment_rotation_rule | No | Optional EDetachmentRule: KeepRelative | KeepWorld. |