ue_attach_actor
Attach a child actor to a parent to compose scenes; moving the parent moves the child. Use sockets and attach rules to define relative alignment (keep world, keep relative, snap to target).
Instructions
Aggancia un attore a un altro: muovendo il padre si muove il figlio.
È il modo in cui si compone una scena (le luci a un lampione, le casse su un pallet) invece di lasciare oggetti slegati da riposizionare uno per uno.
Args: child_label: label dell'attore da agganciare. parent_label: label dell'attore padre. socket: nome del socket sul padre, se ne ha. attach_rule: "KEEP_WORLD" (resta dov'è), "KEEP_RELATIVE" o "SNAP_TO_TARGET" (si allinea al padre).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| socket | No | ||
| attach_rule | No | KEEP_WORLD | |
| child_label | Yes | ||
| parent_label | Yes |