NOTE: They've changed the name of this package to "Standard Assets for Unity 4.6" in the Unity Asset store. In this Unity C# tutorial we will learn how to make touch joysticks using the 4.6 Canvas UI system. We will create 2 joystick to drive a FPS controller similar to mobile games like Dead Trigger or ShadowGun.
To see how to use the Standard Assets Joystick in Unity 5, see this video: • Unity 5 Mobile Joysticks Tutorial - Touch ...
Visit my website to see the code: http://www.devination.com/2015/03/uni...
Twitter: / devination3d
Google+ Community: https://plus.google.com/communities/1...
Facebook: / unity3dtutorialsbydevin
Time Breakdown:
0:48 - Download the Sample Assets package
1:35 - Importing only what we need
2:52 - Setting up our scene with the prefabs and settings we'll need
4:43 - Demonstration of touch joystick as-is before we edit it
5:47 - Fixing the joystick so it doesn't snap to the bottom right corner
6:55 - Quick tip: Adding custom Task tokens for comments
8:02 - Clamping the joysticks in a circle rather than a square
10:00 - Using the joystick as a slider instead
10:43 - Explanation of how the joystick GetAxis and how you can use it for other purpose, not just a FPS controller
13:13 - Adding the Look joystick in Unity
14:33 - Difference between GetAxis and GetAxisRaw
15:25 - Editing RotateView to work with our touch joystick
18:57 - Checking and limiting camera angles
23:42 - Drawn explaination of camera angles and when we need to limit them
28:50 - Demonstration of the look joystick working in Unity
30:47 - (Optional) Dampening the vertical look speed slightly
31:43 - Demonstration of everything working on Android
32:50 - Outro, thanks for watching :D
On this page of the site you can watch the video online Unity Touch Joysticks Canvas UI Tutorial - Touch Input FPS Controller with a duration of hours minute second in good quality, which was uploaded by the user Devin Curry 06 March 2015, share the link with friends and acquaintances, this video has already been watched 89,266 times on youtube and it was liked by 865 viewers. Enjoy your viewing!