Hi,
I have problem that I have aiming system using position, and I need to give the projectile some real looking ballistic curve. This are some basic points of what I need.
the part can be in any distance (inside gun max distance)
It must look really realistic
it must look realistic in any distance, so it won’t be just same curve, but scaled
it will be really great, to have the curve easily changeable
But I don’t have any idea, so can you help me with the logic?
That first thread already contains all the code for firing a bullet with a curve and code to predict the path of bullet, you don’t strictly have to know how the equations got there.
You really don’t. There’s many resources out there that involves minimal math.
To calculate bullet trajectory (without math) you can use this resourced called “FastCast”, it has bullet physics (as highlighted by the post)
I’m no expert (I really haven’t used this module), but if you do need help, maybe @EtiTheSpirit can provide you with further support. The docs should help you initially set this up.
For me personally, I learned some useful math by teaching myself, so you can be in a lower math level and still learn some useful programming concepts.
That’s good, but you should learn the theorems and other important things, sine by itself requires learning the Law of Sines. Or with cosine you should also know Law of Cosines, that kind of thing.
If you know how to do the math, you can manage it. I’m not educated in this type of math personally, or I at least don’t know how to get force + initial velocity from displacement. There’s an equation out there. Just do some googling.