Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Tion-Gaming · Aug 19, 2015 at 06:41 AM · javascripttexturecharacterwalking

Issue with my Character controller script and textures?

Hello so i was testing a build of my game and i have noticed that when the graphichs quailiy is anything less than "Good" it makes my charater controller act all weird and starts stuttering here is the code

     var forward : Vector3 = transform.TransformDirection(Vector3.forward);
     var right : Vector3 = transform.TransformDirection(Vector3.right);
     var curSpeed : float = walkSpeed * Input.GetAxis ("Vertical");
     var curSpeed2 : float = walkSpeed * Input.GetAxis ("Horizontal");
     if (Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.A) || Input.GetKey(KeyCode.S)|| Input.GetKey(KeyCode.D)) {
         controller.SimpleMove(forward * curSpeed);
         controller.SimpleMove(right * curSpeed2);
     }

any ideas whats wrong?

Comment
Add comment · Show 5
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 getyour411 · Aug 19, 2015 at 06:42 AM 0
Share

Couple of thoughts: do you have Vsync on? Is this in Update or Fixed/Late?

avatar image Tion-Gaming · Aug 19, 2015 at 06:51 AM 0
Share

Vsync is what it is at when you first download unity and this is in update

avatar image getyour411 · Aug 19, 2015 at 07:03 AM 0
Share

Vsync is on then, turn it off and see if you get different results? Just to be sure, you did mean to say "anything less than" (ie. usually questions like this are the other way).

avatar image Tion-Gaming · Aug 19, 2015 at 07:20 AM 0
Share

Ok so i went into Edit>Project Settings>Quality and looked at what is constant through the bottom three but differnt in the top three quality levels and it turns out that V Sync Count was so i changed it on the simple level and tested it and now it works so...

avatar image Tion-Gaming · Aug 19, 2015 at 07:25 AM 0
Share

is there any way around me having to do this?

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by getyour411 · Aug 19, 2015 at 07:38 AM

More info http://docs.unity3d.com/Manual/class-QualitySettings.html

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

2 People are following this question.

avatar image avatar image

Related Questions

counting seconds that character is idle. 1 Answer

How can I tell Unity to wait to do something until after and animation has finished playing? 0 Answers

how to add a walking animation when character is moving? 3 Answers

Texture change script 0 Answers

Character drop footprint 2d RPG. 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