Add real bullet physics to your game! Includes path-based trail effects. Simple implementation, yet accurate enough to do real 2D physics simulations.
Here's how it works:
create_ball(x,y,speed,direction,spin,diameter,mass,drag coefficient,air viscosity,air density,name)
(Sample values are included in the package)
The viscosity and density tell the bullet whether it is flying through water, air, corn syrup, motor oil, or anything else you can imagine. Drag coefficient is like an air friction multiplier, and depends mostly on what shape of bullet you are using. Make one up, look it up online, or use the included script.
yep, you can name the bullets.
Want some explosion effects too? Click "more info" to check those out!
Want more? Here is a link to everything by this author: https://marketplace.yoyogames.com/publishers/218/ground-effect-games
Added realistic spin torque due to air friction. Added some comments in create_ball for how to use aero_cd to estimate coefficient of drag.