Unity Touch Swipe Camera Rotation - Touch FPS Controller (Part 1a)

Unity Touch Swipe Camera Rotation - Touch FPS Controller (Part 1a)

This Unity C# tutorial (part 1a of 2) will show you how to create a FPS controller for mobile apps similar to Dead Trigger or ShadowGun. In the next video (Part 1) we create a touchscreen joystick to move our player around. In the next and last tutorial of this(Part 2) we will extend the functionality of this joystick to create another joystick that will control player rotation. So we can have 2 joysticks on screen instead of 1 joystick and a swipe touch pad.\rbr\rbrThere are updates to the code, please check it out on my website: \rbr\rbrIf youre following along with the video, you can get TouchLogic from here: \rbr\rbrIf youre using the updated code from the website youll want to use TouchLogicV2 instead: \rbr\rbrGoogle+ Community: \rbrTwitter: \rbrFacebook: \rbr\rbrTo connect your device to unity, download the unity remote app and follow these steps: \rbr\rbrTime Breakdown:\rbr0:45 - Scene explaination and script planning\rbr1:45 - Starting the script, setting up variables and our function\rbr3:07 - Explaination of Euler Angles in Unity\rbr4:18 - Calculating our cameras pitch and yaw rotations\rbr5:58 - Working Demonstration in game\rbr6:30 - Invert look option\rbr7:55 - Limiting the up and down look rotation with Mathf.


User: Tomaro

Views: 1

Uploaded: 2017-10-22

Duration: 13:32

Your Page Title