Unity Touch Joysticks Canvas UI Tutorial - Touch Input FPS Controller

Publicado em: 06 Março 2015
no canal de: Devin Curry
89,266
865

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


Nesta página do site você pode assistir ao vídeo on-line Unity Touch Joysticks Canvas UI Tutorial - Touch Input FPS Controller duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Devin Curry 06 Março 2015, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 89,266 vezes e gostou 865 espectadores. Boa visualização!