I’m creating an FPS game.
The character’s body and the flashlight in his hand
I want to point it in the direction the camera is facing.
In the node below that I implemented, when you move the camera, the direction and angle of your hand changes,
The flashlight will also be off center.
I think the problem will be solved if you fix the arm so that the angle does not change.
But I don’t know how.
I would like to know the solution and how to do it.
FPSゲームを作成しています。
キャラクターの体と手に持った懐中電灯が、
カメラの向いている方向に向けたいです。
私が実装した以下のノードでは、カメラを動かすと手の向きや角度が変わり、
懐中電灯も中心からずれてしまいます。
角度が変わらないようにアームを固定すれば
問題は解決すると思いますが、
その方法がわかりません。
解決策とその方法をご教授いただけますでしょうか。