سؤال

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?

هل كانت مفيدة؟

المحلول

This should work:

camera.rotateY( angle );
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top