I’ve been looking but I can’t find any simple built-in way to change the parent of an element while keeping its location and orientation unchanged. It would be easy enough to do it myself if sceneTransform wasn’t read-only, but since it isn’t i’m stuck with doing some pretty unpleasant matrix manipulations.
Am I missing something? Is there some built-in method to achieve this? It seems like a fairly fundamental action - not just for this purpose, but more generally to be able to set an object’s position and orientation in scene coordinates rather than parent coordinates.