Projectile Trajectory Prediction in Unity

Sunny Valley Studio โ€ข October 21, 2022
Video Thumbnail
Sunny Valley Studio Logo

Sunny Valley Studio

View Channel

About

Your go-to channel for game dev in Unityโ€”learn procedural generation, C# programming, and how to build clean, scalable systems. ๐Ÿ‘พ

Video Description

In this video we will add a trajectory line to a cannon shooting mechanic so that we can more easily aim at the targes. To visualize it we will use a Line Renderer component. Learn more about creating 2D games in Unity: https://courses.sunnyvalleystudio.com/ Patreon project link: https://www.patreon.com/posts/73595010 Trajectory formula https://www.cuemath.com/trajectory-formula/ Assets used: https://kenney.nl/ ๐—›๐—ฎ๐˜ƒ๐—ฒ ๐—ฎ๐—ป๐˜† ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป๐˜€? ๐—๐—ผ๐—ถ๐—ป ๐˜๐—ต๐—ฒ ๐—ฑ๐—ถ๐˜€๐—ฐ๐—ผ๐—ฟ๐—ฑ! https://discord.gg/RQEtYHz ๐—ฃ๐—Ÿ๐—˜๐—”๐—ฆ๐—˜ support the channel: https://www.patreon.com/sunnyvalleystudio 00:00 Introduction 01:00 Trajectory Line Using Line Render 04:00 Trajectory Line Equation 13:16 Calculating start Velocity 14:46 Testing #unity3d #gamedev #sunnyvalleystudio

You May Also Like