• 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
Question by JeffreyBennett · Jan 18, 2020 at 12:10 PM · camera-movementcamera rotatecamera-lookfpscontroller

Standard Asset FPSController Camera Jumps Around on First Mouse Movement

I'm having this issue in the 3D game I'm creating, and I can easily recreate the issue in a brand new Unity project, with only the Standard Assets FPS Controller, a cube, and a plane (and no scripts).

.

.

Issue:

I set the desired rotation of the FPSController > FirstPersonCharacter to angles I want the player to be viewing at the start of the game. Then, on the very first movement of the mouse, no matter how slight, the camera jumps to a different angle of view.

.

.

Steps to Recreate:

1. Open a new Unity project (I'm using version 2019.2.18f1).

2. Download / Import Unity Standard Assets from the Unity Store.

3. Add a plane into the game - GameObject > 3D Object > Plane (prevents your character from falling when you start the game).

4. Add a cube into the game - GameObject > 3D Object > Cube (for visual reference only).

5. Position the cube anywhere convenient to see it.

6. Delete the Main Camera from the Hierarchy (It's one of the default things that comes when the game is first created).

7. Add the First Person FPSController from the Standard Assets - Project tab > Assets > Standard Assets > Characters > FirstPersoneCharacter > Prefabs > FPSController.

8. Expand the FPSController in the Hierarchy so you can see the FirstPersonCharacter nested inside it.

9. Note the rotation and position values of both the FPS Controller and the FirstPersonCharacter.

10. Click the Play button at the top of the interface.

11. In the Game viewport, carefully note the initial view of the camera.

12. Move the mouse just a bit.

13. You should see a fairly significant jump in the camera's view. After the initial jump, everything is pretty smooth.

.

.

My Results:

- FPSController Initial Rotations: 0, 0, 0

- FPSController First Mouse Touch Rotations: 0, 9.7, 0

- FirstPersonCharacter Initial Rotations: 0, 0, 0

- FirstPersonCharacter First Mouse Touch Rotations: 15.5, 0, 0

.

.

Because this is happening in a brand new project, with no scripts, it can't be any script of mine that is causing it. Is there any way to smooth the camera from its very first angle?

Comment

People who like this

0 Show 0
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

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by keth14 · May 21, 2020 at 05:49 AM

It works fine for me, dude. Idk what is the problem with yours, if you can update your situation about it, or have you found out what the problem was?

Comment

People who like this

0 Show 0 · 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

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

126 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 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 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 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 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 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 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

Confining Mouse Look on X axis 0 Answers

My camera keeps spinning when i move my mouse 1 Answer

My camera is not linking with my movement 0 Answers

Rotate Camera to the object 0 Answers

How do I rotate my Ball Character with the direction the Camera is looking at. 2 Answers


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