I have a model that, as created, has its “forward” pointing down its x axis. I would like it to be pointing down its y axis so that in an ENU coordinate system, it will automatically have its forward pointing north (positive y axis) with a heading of 0 radians.
My best idea right now is to add a “nodeTransformation” on the model’s top node to rotate it 90 degrees around the z axis. However, creating a nodeTransformation requires knowledge of the top node’s name (I need to do this generically for multiple models, so hard-coding the name isn’t an option for me).
So, my question is twofold:
- Can anyone think of a better way to do what I need to do?
- If not, do you know of a way that I can get the model’s top-level node’s name so I can specify the nodeTransformation?