Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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∈dex=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.

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

Select/Drag/Drop Objects with a mouse 0 Answers

Smooth Camera Movement script with problem. 0 Answers

Get mouse direction in locked 1 Answer

Problem with Alt + Middle Click Drag for Camera (Windows) 3 Answers

Camera/mouse movement issues "almost but no dice" 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges