How can I get it so that the player character aim where the camra is looking and so he/she shoots where the cross hairs are.
How can I get it so that the player character aim where the camra is looking and so he/she shoots where the cross hairs are.
There’s an explanation and some code in this thread showing how to do this using raycasting.