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.
threejs とトラックボール カメラを使用してシーンを表示しています。カメラからビュー マトリックスを取得しようとしましたが、そのマトリックスワールドの反転が更新されません。レンダー関数で updateMatrixWorld を呼び出します。マトリックスワールドは更新されていますが、逆ではありません。理由はありますか?
自分で行う必要があります:
camera.matrixWorldInverse.getInverse( camera.matrixWorld );
camera.matrixWorld最初に更新されていることを確認してください。デフォルトでは、レンダラーによって自動的に更新されることに注意してください。
camera.matrixWorld
three.js r.58