• 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.

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

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

How to determine a collision incase of two Character-Controller. 0 Answers

MMD How to export model and animations to Unity as 3rd person controller? 2 Answers

Make player face same direction as camera 0 Answers

How to rotate camera diagonally over players shoulder while still facing towards players direction 0 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

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