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 Kegisak · Mar 25, 2014 at 07:15 AM · controllercamera rotatedefaultcharacter controlling

Why does the default Third Person Controller cause my character to spin in place?

I've made sure that I have all three of the necessary scripts attached (Character controller, third person controller and third person camera) and that the camera is tagged as the main camera, but when I press the forward key my character rotates clockwise, and counterclockwise when I press back. Left doesn't do anything at all.

In addition, the mouse-controlled camera is jittery when I try to turn it and snaps back forward. It may be unrelated, but it might not be. I've tested the character without the mouse-controlled camera, so I'm fairly certain that's not the cause of the problem.

What I think might be related is that I don't have a character model with any animations attached. My 'character' is just a couple of cubes stacked together to provide something to look at, as at the moment I'm only trying to make a prototype. Could the fact that it's a basic cube with it's own collision/no animation be related?

Comment
Add comment · Show 1
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 Kegisak · Mar 25, 2014 at 10:27 PM 0
Share

So doing some fiddling around with it, I've come to the conclusion that the script itself is working fine, so it's definitely an issue with my character - or lack thereof. Does anyone know why it won't work for a cube? Is there some kind of setting needed for the script to recognize it as a character, or is it an animation issue maybe?

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by getyour411 · Mar 25, 2014 at 10:44 PM

Yes.

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 Kegisak · Mar 26, 2014 at 02:22 AM 0
Share

Um.

Well I mean, it's good to know I'm on the right track at least. I don't suppose you could point me in the direction of exactly what I need to set(or, if it's an animation issue, if it's possible to fudge it so the script thinks there's an animation present)?

avatar image
0

Answer by jamesccc · Aug 04, 2015 at 05:54 AM

sorry to revive old post, but check your rigidbody angular drag. Set it to 999

Comment
Add comment · 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
0

Answer by allghoichorchoj · Aug 07, 2017 at 09:11 PM

iam having similar problem and it drives me crazy as beginner in coding...

Comment
Add comment · 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
0

Answer by Lagoyu · Oct 06, 2017 at 04:11 PM

The problem for me was input from a set of rudder pedals! Check the peripherals you have attached to your machine :)

Comment
Add comment · 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.

Follow this Question

Answers Answers and Comments

23 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

Related Questions

Unity 5 ThirdPersonController 0 Answers

How to create a Touch Pad to control camera rotation 0 Answers

Third Person Controller shuffling 0 Answers

Controlling orbiting camera with mouse AND controller? 0 Answers

How to rotate a spacecraft using the mouse instead of butttons? 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