Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看到 ColladaLoader 有办法将 upAxis 设置为“Z”……有没有办法在 Three.js 中做到这一点,以便相机的上轴是 Z?
谢谢!
您可以像这样设置相机up矢量:
up
camera.up.set( 0, 0, 1 );
然后,当您致电时camera.lookAt( point ),它将按您的预期工作。
camera.lookAt( point )
编辑:更新到three.js r.68