Thanks for all the help so far, I've gotten further in generating a terrain,
but ran into a problem using applyRotations() with my mesh.

 

At what point can I call applyRotations() after calling Obj.load(url)?

 

When I load a mesh I need to rotate it from its default orientation.

 

It works fine if I set myObject3D.rotationX=90, and don't applyRotations().
If I call applyRotations() then the mesh loads with the default orientation.

 

Seems easy enough, but when I call applyRotations() immediately upon calling
Obj.load(url), I think it is applying the rotation to the temporary cube
loader, and then later loading the mesh in its default orientation. Even a
call to applyRotations() from within the loaders onLoadSuccess event handler
it doesn't apply the rotation to the final mesh.

 

Thanks as always for your suggestions!

Dave

 

 

 

Reply via email to