• 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.

[Trigger] Need a formula

Status
Not open for further replies.
Level 12
Joined
Apr 16, 2010
Messages
584
Hi there. I need a formula that would calculate the height...
For example: i got 2 points A and B. I need to move from A to B, but B has a 500 height and is 1000 range away from A. So how do i calculate, how much height do i need to add every 1 range to a dummy that moves from A to B, so when he reaches B his height will be 500.
This isn't hard but i got a lot of stuff right now, that needs to be solved faster.
+rep for help, hope i explained good.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
From what I understand:


---------------------------------------------------------Point B
------------------------------------------------------------^
------------------------------------------------------------(500 height)
Point A >>>>>>>>>>>(1000 range)>>>>>>>>>>>>>>>>>>>>>^

Is it kinda like right-angle triangle or something ?
Just need to confirm
 
Status
Not open for further replies.
Top