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 Setzer22 · Nov 08, 2010 at 09:29 PM · bugthird-person

Running straight and to the right at the same time

I've made a character controller following a third person character controller tutorial and I've adapted it to fit to my game's needs and now it's like a third person shooter more or less.

You control the camera (and the character rotation) with the mouse and can use WASD keys to move forward backwards and to the sides. I've implemented a running walking system also (pressing Shift key), and it works fine except for going to the right while running and going straight at the same time (when i'm pressing the W and D keys and also the shift for running) it doesn't detect movement in the horizontal axis (D key), but it works fine if i press A (it goes to the left).

The strange thing about it is that I have the same bug with the 3rd person character controller that comes with unity and I don't understand why this happens.

Anyone knows what the problem is and how to solve it?

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 Setzer22 · Nov 09, 2010 at 05:40 PM 0
Share

I've also noticed that if I use another key ins$$anonymous$$d of shift it works fine, so the problem is with the shift key, and I'm starting to think this is only happening to me :S

Anyone knows?

avatar image sdgd · Jan 23, 2013 at 05:33 AM 0
Share

try doing it in here in text Shift+UpArrow+RightArrow/LeftArrow

can't really tell as I've got gamers keyboard and I think this is past

maybe it's past because it's gamers keyboard OR it's past because I'm not using $$anonymous$$$ XP any longer

1 Reply

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

Answer by sdgd · Jan 23, 2013 at 05:28 AM

he he he he seems you have not problem with unity it self but System

well if you've ever played NFS (NeedForSpeed) you find out that you aren't able to press shift+ (can't remember right or left) tho I can't really remember any longer what shift was

but the thing is the system doesn't recognize so many buttons at once not the game it self

solving this is with:

changing keyboard to game keyboard (not sure tho (never tested))

or maybe changing system in to linux witch I don't recommend as you'll need few years to learn how to work with it + doing many formats till you'll learn what to do to not destroy your system

in linux tho you can't destroy it if you aren't in root. it's one of best things I've encountered at linux, I still love it.

1 thing M$ never had. As it always has global running programs (every program has ability to change all system components)

Comment
Add comment · Show 2 · 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 Setzer22 · Jan 24, 2013 at 11:30 AM 0
Share

Wow, It's been a while since I posted this. Certainly it's a problem with my keyboard rather than with unity, I have to test if it does work on linux though, but I can tell with the years that this isn't working with any game I play in windows, not only the Unity ones, I hadn't noticed since then though. And yes, it seems a better keyboard might solve this. I even used an older keyboard than $$anonymous$$e (usb, not ps2 port) and that worked fine. I didn't really post anything here as I totally forgot about this question

It's a handicap not being able to run straight and to the left at the same time xD

Anyway, thank you, now I know for sure what it was!

avatar image sdgd · Jan 24, 2013 at 09:30 PM 0
Share

hey NP I usually if I get answer look in his unanswered Questions if I've got any solutions

btw you can toggle running or toggle speed:

sneak / walk / jogging / running / Sprinting

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

Lighting problem and glitch. 4 Answers

Bug moving a character with onscreen Joystick prefab 0 Answers

Audio Artefacts When Stopping/Destroying during play. 2 Answers

Objects not becoming active with script 1 Answer

Problem with Sprites in Android. Maybe a bug? 0 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