ProtoFlux:Set Parent

From Resonite Wiki
Revision as of 04:04, 10 February 2024 by 989onan (talk | contribs) (added Set Parent ProtoFlux Node Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Set Parent Slot
*
Next
Instance
NewParent
PreserveGlobalPosition
Slots

Sets the parent of Instance (Slot).


Inputs

* (Call)

Set the parent of Instance (Slot) to NewParent (Slot)

Instance (Slot)

The slot to set the parent of.

NewParent (Slot)

The slot to set the parent of Instance (Slot) to.

PreserveGlobalPosition (bool)

Whether or not to keep the values for Instance (Slot)'s local transforms or to keep it in the same place visually.

Outputs

Next (Continuation)

Sends an impulse when Instance (Slot) is sucessfully parented to NewParent (Slot), or if NewParent (Slot) is null it will set it to the Root Slot of the World.


Examples