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
1
Question by Adam Bruns · Feb 15, 2010 at 10:16 PM · inputfirst-person-controller

3 FPS controller button layout questions

(hmm i've asked 3 questions in 2 days... go me...) So as i've said in my other two im using the first person controller prefab and all that comes with it, and i've added some scripts for shooting and everything is working fine. I know about the Input manager for buttons (just how to open it) and i have 3 basic questions
1: Can i add in more buttons, like fire1 is the mouse click, could i add in my own like firenow and have it be the shift button
2: What are the names of buttons, i.e. in the Fire1 where it says positive button [left ctrl] what are some other names i could put there, like if i want enter to be one, do i just type enter?
3:whats the difference between positive and negative buttons?

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

3 Replies

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

Answer by Sebas · Feb 16, 2010 at 12:05 AM

1: Yes you can. In the Input Manager you see the Size on top with a number behind it. Increase this number to create new axes. You can then modify your newly created axes just like you would with the existing ones.

2: You can find the most common names of buttons in the documentation (documentation link). Check the bottom of this page for the button names.

3: Negative buttons are usually used when your axis is mapping a movement direction. A negative button for the horizontal direction would move you in one direction while the positive button moves you in the opposite direction. If you need something trivial as shooting a weapon or jumping, etc. just use the positive button and leave the negative button blank.

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 Jesus_Freak · Dec 23, 2010 at 01:02 AM 0
Share

i added the link to the keyCode reference: the list of any Input you could need!

avatar image
0

Answer by Fries · Feb 16, 2010 at 04:59 AM

Sebas pretty much summed it up - you can simply change button name new ones for example if you wanted to shoot using the "x" key - simply put x as the positive value

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 Jesus_Freak · Dec 23, 2010 at 01:00 AM

if you want to know the name of all the keyboard, mouse, and joystick keys, check out the reference.

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

No one has followed this question yet.

Related Questions

Change Input In Game 1 Answer

Controll First Person Controller via touch screen input 0 Answers

moving is all messed up 1 Answer

Onscreen fire button for FPS games. 1 Answer

Make First Person Controller More Sensitive 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