I used the camera relative control prefab and get the movement I want. I also mapped the "Double-tap right joystick" to a button. But the jumping isn't how I want it. I want to have a short quick jump when the button is tapped and a longer higher jump when the button is held.
Answer by CJCurrie
Feb 04, 2010 at 11:19 PM
I would recommend looking at the 3D platformer tutorial, since it explicitly covers how to do what you are describing.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
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.
Answers and Comments
No one has followed this question yet.
How to make smooth jump?
AddForce to Camera
controller.Move not working correctly
Whats the script for basic Character movement?
My character isnt jumping with this script attached. Also, how can I make jumping work only if you're below (y-axis) a certain point?