I'm trying to do something akin to spatial node parenting except programmatically.
Let's say that we have two spatials, A and B, and that I want to use their position at scene initialization to compute a relative transform between them so that I can re-use it to re-apply it later? How would that all work?
I'm familiar with Vector3 addition/subtraction to get what I want, but the issue is that I need to consider rotation and scaling too, hence why I'm trying to understand how to do the same kind of arithmetic but with transforms?