Properly update Object 3D.up property

Hi,
I’m importing an object from a .obj file and the object are loaded with default up property (0, 1, 0).
But my scene use Z for the up direction.

How should be the correct way to change the up direction for the Object3D for the transform operations to work properly?

right now the result is that loaded object appears in the scene sideways :confused:

I would like to set the up property with (0, 0, 1) and I should rotate the object. But Should I change something else? :thinking: