• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by SovereignOfRats · Aug 24, 2013 at 03:46 AM · cameramovementfpsmousecontrols

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.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AlucardJay · Aug 24, 2013 at 08:10 AM 0
Share

Unitys First Person Character Controller, Unitys $$anonymous$$ouseLook script, and : http://www.youtube.com/watch?v=3JsuldsGuNw&list=PL7AE076AFAFD3C305&index=2

avatar image Benproductions1 · Sep 05, 2013 at 11:19 PM 0
Share

Please accept an answer

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by KuPAfoo · Aug 24, 2013 at 04:30 AM

Have you tried using the FPS asset included in your unity download?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Benproductions1 · Aug 24, 2013 at 04:30 AM 0
Share

Please do not post duplicate answers

avatar image
0

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ian-McCleary · Aug 24, 2013 at 04:38 AM 0
Share

(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.)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

19 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

FPS Movement Incredibly Laggy 0 Answers

How to make object fallow the mouse ?? 1 Answer

Top down movement and rotation 2 Answers

Erratic movement problem 2 Answers

Runescape Movement and camera rotation 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges