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.
我刚刚开始学习 Three.js 和一般的 3D 编程。我有一个围绕 x 轴“向下”旋转 45 度的相机。当我旋转后平移时,相机仅沿其局部轴移动。我怎样才能让它沿着世界 x 和 z 轴移动?
camera.position.x += delta; camera.position.z += delta;