Domanda

It appears that the camera in three.js is oriented on a coordinate system that is orthogonal to the global coordinate system. Is it possible to rotate the camera about its local coordinate system defined by its lookAt vector?

È stato utile?

Soluzione

This should work:

camera.rotateY( angle );
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top