Рет қаралды 4,174
"Custom Projectile" was added to the Workshop, thankfully making this process obsolete. You can just simply create a projectile now and the game engine can handle the physics for you! ♥
In this tutorial I show you how to create a projectile with simulated gravity. It's kinda math heavy, but that's programming!
My Workshop Discord: / discord
Music: • Royalty Free Music -- ...
0:00 - Intro
0:44 - Initialization
2:23 - Vertical Motion (Up)
4:13 - Vertical Motion (Down)
5:09 - Scale Vert. Speed w/ View Angle
6:12 - Horizontal Motion
7:15 - Scale Hor. Speed w/ View Angle
7:40 - Projectile Collision (Below)
10:38 - Projectile Collision (Front)
11:14 - Cooldown
11:29 - Demonstration
12:07 - Outro