How do I calculate mortar trajectory in a videogame?
I've been playing a lot of Gmod lately, a fantastic sandbox game with unlimited possibilities. There are many addons to Gmod, one of the more common for sandbox servers being Wiremod. There's a specific tool in wiremod called Expression2, which is a language very similar to LUA. I commited to learning E2, and I've come a long way. Being as young as I am, though, complicated math has always been a huge roadblock. I'm in 8th grade, I've never taken trig. I'm currently atempting to make a mortar of sorts, but most of the research I've done has been like an entirely different language to me. As far as I know, there's no drag or air resistance in Gmod, so I'd probably just need to include launch velocity, launch angle, launch position, and end position. All I really need is some pointers on a formula and how to use it. Anyone willing to help me out?