MrPinkPanther
30-07-2009, 10:59 AM
Ok so I've programmed a non-tile based isometric game but now I'm stuck on making it move correctly isometrically.
Currently my character moves from one point directly to the other. However I now want to move him isometricly (2 points across for every one point down) so I will need to move him twice to get to the one point. Once going across and down and once going across and up, as shown in the diagram below. Does anyone have any idea how to calculate where point A is on the diagram? I've been racking my brains and can't think of a single trigonometric formula. So say if one point is (10,10) and the other (200, 100) how do I calculate where point A would be and where he changes direction.
http://img23.imageshack.us/img23/3995/triangleh.png
Thanks in advance,
FlyDuo
Thread closed by iAdam (Forum Moderator); Problem solved, and to prevent spamming.
Currently my character moves from one point directly to the other. However I now want to move him isometricly (2 points across for every one point down) so I will need to move him twice to get to the one point. Once going across and down and once going across and up, as shown in the diagram below. Does anyone have any idea how to calculate where point A is on the diagram? I've been racking my brains and can't think of a single trigonometric formula. So say if one point is (10,10) and the other (200, 100) how do I calculate where point A would be and where he changes direction.
http://img23.imageshack.us/img23/3995/triangleh.png
Thanks in advance,
FlyDuo
Thread closed by iAdam (Forum Moderator); Problem solved, and to prevent spamming.