Hi
Ive been sneeking around for some time now, but cant find the answer im looking for. My problem is as follows.
I need to calculate the amount of force and in what direction to apply it to a ball from a user defined parabolic curve. This is my know variables;
1:Starting position = random
2: Parabola vertex = user input
3:Ending position = Vector(parabola vertex X + (Parabola Vertex X - Starting Position), starting position Y)
The user is able to move the parabola vertex to see what path the ball will make. But no mather how much i read about parabolas i cant get the direction and force right.
i calculate the parabolic curve like answe nr 2 on this link http://gamedev.stackexchange.com/questions/4754/determing-an-objects-position-along-a-curve-over-time/4842#4842
Any help here is much appreciated.
Thanks
Kristofer
Ive been sneeking around for some time now, but cant find the answer im looking for. My problem is as follows.
I need to calculate the amount of force and in what direction to apply it to a ball from a user defined parabolic curve. This is my know variables;
1:Starting position = random
2: Parabola vertex = user input
3:Ending position = Vector(parabola vertex X + (Parabola Vertex X - Starting Position), starting position Y)
The user is able to move the parabola vertex to see what path the ball will make. But no mather how much i read about parabolas i cant get the direction and force right.
i calculate the parabolic curve like answe nr 2 on this link http://gamedev.stackexchange.com/questions/4754/determing-an-objects-position-along-a-curve-over-time/4842#4842
Any help here is much appreciated.
Thanks
Kristofer