Calculating Trajectories
Tutorial
·
intermediate
·
+10XP
·
45 mins
·
(209)
Unity Technologies

In this tutorial students will learn about the parabola formed by projectile motion and use physics calculations to start programming an automatic attacking tank. Next, students will complete the programming of the AI tank by adding Unity physics back on the shells and automatically controlling when the tank shoots through code.
Languages available:
1. Calculating Trajectories Part 1
In this unit students will learn about the parabola formed by projectile motion and use physics calculations to start programming an automatic attacking tank.
2. Calculating Trajectories Part 2
In this lecture students will learn how to calculate the trajectory of an arc made by a moving physics object to determine a hit location.
3. Calculating Trajectories Part 3
In this lecture students will learn how to use the trajectory calculations to have a Unity Physics system operated bullet hit its mark as well as create a simple AI character that will shoot at and follow an enemy.