Hello there. I will try to make this as short as possible. Basically, I have a flashlight tool and I want the right hand of the player to point wherever the mouse is pointing at. Now, I will be using this for a first-person horror game thingy (more of a project for fun than anything), so the player will be locked in the first person perspective.
That being said, I want the right hand with the flashlight equipped to always be pointing towards the center of the screen, kind of like an FPS gun would when you aren’t aiming. I have no idea where to start other than getting the position of the mouse hit target (and that I have to use Motor6D). If someone could help me, that would be amazing. Thank you for your help.
I am aware of how the lookAt() function itself works, I just do not see how it would be used with the Motor6D in this scenario. If it is used directly on the arm, then it will make it look weird (it will be dislocated from the character), so the CFrame would either need to be edited to be used with the Motor6D or another way would need to be used.