Scene Up Direction

Can you change the scene orientation direction between Z up and Y up?

The scene up direction has been set to Z. Its easy enough to rotate an asset to make it face the right direction.

const xfo = new Xfo() 
xfo.ori.setFromAxisAndAngle(new Vec3(1, 0, 0), Math.PI * 0.5)

The sample GLTF loader file has been updated to make this an option when we load a file. See here:

1 Like