Point and Shoot Tutorial in Unity

You can automatically point and shoot a turret towards the direction of your mouse in Unity with this easy to follow tutorial.

Topics Covered:

  • 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 point towards the mouse
  • 4:25 – Creating an anchor point for our turret
  • 5:00 – Firing a projectile on click
  • 8:40 – Showing off the finished product

By Press Start