Unity – Point and Shoot Tutorial



In this tutorial we discuss how to point and shoot a turret towards the direction of your mouse.
SUBSCRIBE: https://bit.ly/2Js78lE
============
SUPPORT: https://www.patreon.com/pressstartclub

In this video, we cover:
+0:50 – Creating a C# Script
+1:40 – Calculating our target position
+2:04 – Crosshairs following mouse movement
+2:40 – Hiding our mouse cursor
+3:15 – Rotating our gun to…

Lire l’article original