Initial rotation of model

I’m opening a StaticModel scene from a .mdl and related files exported from Blender. The model is rotated in Blender as I want it, I made sure it’s OK when in front view. When exporting, I do specifiy that the front view I want from the export plugin is the same front view as in Bender. Still, my model appears in Urho with a rotation (by the looks of it, the very original rotation I imported it first into my scene in Blender with, before I started to modify it in any way for my needs).

Yes, I could apply an initial rotation in code but I need to import a larger number of models upon user interaction, so I need to make sure each arrives with its own proper initial settings.

Least confusing is to have your objects look along the positive Y axis in Blender and select Back as Front view in the export options. You may also need to Apply Rotation & Scale of the objects before exporting (Ctrl+A).

Also, welcome to the forums! :confetti_ball: :slightly_smiling_face:

1 Like

This Apply was the missing link, thanks, but I’ll also look into the orientation you suggest.

1 Like