PDA

View Full Version : Position of a point in isometric world


avs
02-22-2008, 03:50 PM
I’m trying to calculate the position of a point in isometric world. I have the x and y position of the point in Flash and I need the x and y position in the isometric world. I can’t work out what the sum should be …have you any ideas?

rrh
02-22-2008, 04:26 PM
isoX=x*slope1+y*slope2;
isoY=-x*slope2+y*slope1;

slope1 and slope2 being ratios based on the angles of your isometric world.