- Home /
Rotate gun to mouselook
Hi,
At the moment i'm working on a school project in Unity, which is supposed to be an first person shooter. Now I have a gun and a player object (which is the standard FPS controller object). The gun is set as a child of the fps controller, but now the gun needs to point always to the center of the screen (where the crosshair is). I'm at a loss here, so could anyone help me please?
Answer by MojopinStudios · Jan 09, 2013 at 11:29 AM
Set the gun as a child of the Main Camera inside the FPS Controller, not a child of the FPS Controller itself.
Your answer
Follow this Question
Related Questions
FPS hands and gun 4 Answers
shooting laser to screen middle doesnt work... 1 Answer
(Easy question)What am I doing wrong making my cross hair transparent? 1 Answer
crosshair scrip not working 1 Answer