I have a traditional FPS game where the crosshair moves with the main camera (which is attached to the player) and stays centered in the middle of the screen.
However, in one scene I want to have something similar to a traditional gunfight where the Player faces off against an enemy where both are standing still in a fixed position. In this scenario I want to only move the player’s right arm holding a pistol and then have the crosshair move on the screen in the direction that the pistol is pointing. So at the beginning the pistol may be pointed almost down toward the ground and then you should be able to raise the arm with the mouse and put the crosshair on the enemy so you can shoot the enemy.
Then I need to be able to shoot a raycast to the point where the crosshair is.
I hope this makes sense what I’m asking.