transformAcrossSpaces
Keep in mind that this is an advanced function that works with coordinate spaces
Parameters
vec
: a Vector signal representing the position of the object to "follow"vecParentSpace
: The parent space in whichvec
is locatedtargetParentSpace
: A TransformSignal representing the "target space", which in the absolute frame of reference
Example
With the code example below, the two objects will be placed on top of each other no matter what happens in the rest of the scene
Note: sometimes a reload is required after changing the Scene hierarchy
Last updated