- Joined
- Oct 18, 2007
- Messages
- 930
( the quotes are for unknown or of someway of explaining )
Ok you all know the spell Impale( wc3 ). And the Impale buff, the one that hits the units and sends them up into the sky.
I need a formula to calculate something( i dont really know )
It's like a Jump, just with no arch and no movement, just the height change. Starts fast( because of the thrust ) and with higher velocities you get higher "thrusts". The unit slows down when going up due to the gravity and when the "speed( or sum ) is at 0 it starts to drop. The "loop" will end( it will stop moving ) when it has landed on the ground.
For all of you Jass and vJass users i think you would understand better if i would show you some calls and variables
u = Unit
v = Velocity
t = Time it takes
So it is some sort of formula that calculates height after how many / what it has done.
Gravity variable is in this, " G ". So the real ' v ' is affected by the gravity.
The unit's height is changed every interval " I ".
Ok you all know the spell Impale( wc3 ). And the Impale buff, the one that hits the units and sends them up into the sky.
I need a formula to calculate something( i dont really know )
It's like a Jump, just with no arch and no movement, just the height change. Starts fast( because of the thrust ) and with higher velocities you get higher "thrusts". The unit slows down when going up due to the gravity and when the "speed( or sum ) is at 0 it starts to drop. The "loop" will end( it will stop moving ) when it has landed on the ground.
For all of you Jass and vJass users i think you would understand better if i would show you some calls and variables
JASS:
function Thrust takes unit u, real v, real t returns nothing
u = Unit
v = Velocity
t = Time it takes
So it is some sort of formula that calculates height after how many / what it has done.
Gravity variable is in this, " G ". So the real ' v ' is affected by the gravity.
The unit's height is changed every interval " I ".