llamacademy / projectile-trajectory

Learn how to use a Line Renderer and a basic kinematic equation to show the trajectory of any projectile! We're using a grenade in this case, but it can be applied to cannon balls, bullets affected by gravity, throwing a banana, or any other projectile!

Home Page:https://youtu.be/8mGZBYsSXcQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Projectile Trajectory Line Renderer

Learn how to use a Line Renderer and a basic kinematic equation to show the trajectory of any projectile! We're using a grenade in this case, but it can be applied to cannon balls, bullets affected by gravity, throwing a banana, or any other projectile!

Youtube Tutorial

Patreon Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to https://patreon.com/llamacademy to show your support.

Phenomenal Supporter Tier

  • YOUR NAME HERE!

Tremendous Supporter Tier

  • YOUR NAME HERE!

Awesome Supporter Tier

  • Andrew Bowen
  • Gerald Anderson
  • AudemKay
  • Paul Berry
  • Matt Parkin
  • Ivan
  • YOUR NAME HERE!

Supporters

  • Bastian
  • Trey Briggs
  • YOUR NAME HERE!

Other Projects

Interested in other AI Topics in Unity, or other tutorials on Unity in general?

Requirements

  • Requires Unity 2020.3 LTS or higher.
  • Import the Unity Particle Pack for explosion effects seen in the video
  • A trimmed Mixmo Animation was used - "Throw Object" with an Animation Event added called "ReleaseGrenade" at the top of the throw. Don't forget the upper body Avatar mask!

About

Learn how to use a Line Renderer and a basic kinematic equation to show the trajectory of any projectile! We're using a grenade in this case, but it can be applied to cannon balls, bullets affected by gravity, throwing a banana, or any other projectile!

https://youtu.be/8mGZBYsSXcQ

License:MIT License


Languages

Language:ShaderLab 61.9%Language:C# 30.5%Language:HLSL 7.6%