Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Hey!

Here is the tutorial about creating a trajectory line to visualize how a physic based projectile will fly (a bullet that we move using a rigidbody).


I hope it is helpful to you :)

-Peter

Files

Previews only

maxresdefault.jpg

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 implement is we will use a liner 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

Comments

No comments found for this post.