• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need help with parabola equation

Status
Not open for further replies.
Level 9
Joined
Apr 19, 2011
Messages
447
Hi.

I need help with the equation of a parabola, for a jump in one of my cinematics.
I need the jump to have a maximum height of H, in the middle of the trayectory. The traveled distance, a known value called D.
I just don't know how to set the equation of a parabola that meets these conditions.

I can make the rest of the jump by myself, I only need help with the equation.
Thanks in advance.

Regards
 
Level 9
Joined
Apr 19, 2011
Messages
447
Heh, damn...
After reading the tutorial HappyTauren posted, I fully understood the deduction of the function. Sigh, I found myself a bit idiot right now, I've done more difficult things in my life...

y = (4*H/D)*x*(-x/D + 1)

Supprised you could not do this yourself. Just transform a simple y = -x^2 + 1.

Yep, you're right. I should know how to face this by my own. Maybe I was just tired, I don't know.

I am saddened to inform you that people usually do not know any math functions, and it is a minority that do.

In my case, he's right.
I've already played around with spiral and hyperbolic functions, which I consider more complicated than a parabola... In this case, I should be able to deduce the equation by myself. I just don't know why, but I got stuck with this...
Well, I suppose that everyone has bad moments. :(

Anyway, thank you all for your support. The problem is now more than solved.

Regards
 
Status
Not open for further replies.
Top