• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

How can calculate a parabol vector?

Not open for further replies.
Level 1
Nov 14, 2011
I want make a missile ability but i don't know how to calculate a parabol vector to move dummy position and set dummy height logical.
Example: Start fly a dummy to (this point) over 1.00 game seconds (or Start fly a dummy with 700 speed over 1.200 game seconds) and maximum height is 300, minimum height is 50, know that timer loop is 0.03s
I want write this spell in Jass because i can change variables max height or speed, time expiration if i want! (It like's a System).
P/s: If give me a System, you should guide me Where is say parabol vector calculation ! Please!
thank for help :)

Dr Super Good

Spell Reviewer
Level 64
Jan 18, 2005
A parabola...

Instead of x, use flight time (time the unit has been in the air).
Instead of y, it is giving you the Z height for the unit.
a effects the parabola width.
b effects when the parabola reaches its maximum.
c effects the height of the parabola (here is where you factor in terrain height).

When the output of the formula is a negative number, you must be trying to move below the ground which is not possible and so you end the parabola movement.
Not open for further replies.