- Home /
How can I produce the typical FPS mouse steering effect?
First-time Unity user here, creating an experimental FPS, and already I have run into a problem. Movement for the player character works in regards to the keyboard just fine, but I cannot find a way to direct the character's movement with the mouse, as with most modern-day first person shooters.
EDIT
The issue has been fixed, it turns out that I was already doing all the answers I had been given before I even put the question up, but I had simply placed the MouseLook script on the camera instead of the player character. Thanks to alucardj for showing the video that inspired the solution. I can't mark a comment as correct, but this case is closed. Thanks to KuPAfoo and Ian McCleary for taking the time to answer as well.
Unitys First Person Character Controller, Unitys $$anonymous$$ouseLook script, and : http://www.youtube.com/watch?v=3JsuldsGuNw&list=PL7AE076AFAFD3C305∈dex=2
Answer by KuPAfoo · Aug 24, 2013 at 04:30 AM
Have you tried using the FPS asset included in your unity download?
Answer by Ian-McCleary · Aug 24, 2013 at 04:33 AM
Are you making your game from scratch? I dont know how new you are to Unity but there is an fps controller that has all the controls with mouse and keyboard. You can find it under Assets and then Standard assets and then Character controllers....Fps.
If you knew about this and you wanted something different just disregard this answer.
(You do have to add this on the check list that came up when you first made your project. If you didn't then you will have to download it separately of the asset store.)