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 aman_jha · Dec 01, 2014 at 12:23 AM · c#javascriptguijoystick4.6

Unity v4.6 Joystick?

Hey Unitarians,

I've wasted a solid hour or two on this so I've resorted to your help :)

Basically I want to have two joysticks in my game to control the character position and rotation. However, I've downloaded the totally awesome Unity 4.6, and with all of its fancy new UI tools, it can't seem to make a joystick!

I've spent a lot of time researching this, and I came up with a package on Unity forums that allows only one joystick to be able to be used as at a time. I can work with this for right now but I really do not like it. Is there any way or tutorila to create a dual joystick system?

If you guys could tell me how to use the legacy guitextures again in 4.6, that'd work too.

EDIT:

Guys I'm talking about a virtual joystick to use on mobile devices :P

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by jackhearts · Dec 01, 2014 at 12:59 AM

Isn't this what you're after?

Also, out of interest what exactly is it you're controlling that needs two joysticks? Or are you talking about a gamepad?

Comment
Add comment · Show 3 · 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 aman_jha · Dec 01, 2014 at 01:24 AM 0
Share

One joystick to move the character and the second to rotate the character

avatar image aman_jha · Dec 01, 2014 at 01:25 AM 0
Share

And I kinda meant virtual joysticks for mobile... sorry :P

avatar image jackhearts · Dec 01, 2014 at 02:06 AM 0
Share

oh right, well that's an easy answer then. Go on the asset store and search for mobile joysticks; no point reinventing the wheel. Or you can just hook in to the multi touch input events and work it all out yourself from there.

avatar image
0

Answer by RemiR · Dec 01, 2014 at 07:59 AM

Personally, I use an old virtual joystick (with textures), and it's works fine with 4.6. But if you find one, i'm interested.

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 aman_jha · Dec 01, 2014 at 01:11 PM 0
Share

No see I would do that to, but how would I input the old textures? Unity doesn't give me an option to use that. How do you put them in?

avatar image RemiR · Dec 01, 2014 at 04:19 PM 0
Share

With Unity 4.6, you can use again Texture2D (or Legacy UI) : http://docs.unity3d.com/ScriptReference/Texture2D.html

Here you can find a script for joystick (it works with GUITexture) : http://wiki.unity3d.com/index.php?title=Joystick

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

29 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 avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Example of setting up a button OnClick event via scripting? 2 Answers

What Am I Doing Wrong? Variable Names 3 Answers

[4.6] Add scroll wheel functionality to scroll rect 2 Answers

Get status of GUI Button 4.6 2 Answers

4.6 Trigger.js Wrong command is running. Help? 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