Bobrocket Posted June 22, 2015 Share Posted June 22, 2015 So, I have this map (warning super large ass image) and I want to be able to get the world position given a position on this map and vice versa. I have some data however I cannot get any equation to do so. Data points: The world position (3218, 3218) is the point (2468, 2010) on the map. The world position (2662, 3294) is the point (1358, 1861) on the map. Is there any equation to get the correct position? Thanks Link to comment Share on other sites More sharing options...
Twin Posted June 22, 2015 Share Posted June 22, 2015 So, I have this map (warning super large ass image) and I want to be able to get the world position given a position on this map and vice versa. I have some data however I cannot get any equation to do so. Data points: The world position (3218, 3218) is the point (2468, 2010) on the map. The world position (2662, 3294) is the point (1358, 1861) on the map. Is there any equation to get the correct position? Thanks I'm confused what you're asking, sorry. Are you saying that the position ingame is 3218,3218, and then on the map it's 2468,2010? Link to comment Share on other sites More sharing options...
Bobrocket Posted June 22, 2015 Author Share Posted June 22, 2015 I'm confused what you're asking, sorry. Are you saying that the position ingame is 3218,3218, and then on the map it's 2468,2010? Yeah, the point 3218,3218 corresponds to the point 2468,2010 on the map. Sorry, I never seem to be very clear about my problems :p Link to comment Share on other sites More sharing options...
Extreme Scripts Posted June 22, 2015 Share Posted June 22, 2015 There's a formula for everything, you might wanna search around GitHub for "DunkPathMaker". It has the answer you need. 1 Link to comment Share on other sites More sharing options...
Flamezzz Posted June 22, 2015 Share Posted June 22, 2015 And if that doesn't help you, you could always get some more data points and use some sort of regression / least squares. 2 Link to comment Share on other sites More sharing options...
Bobrocket Posted June 22, 2015 Author Share Posted June 22, 2015 There's a formula for everything, you might wanna search around GitHub for "DunkPathMaker". It has the answer you need. Thank you, it has just what I need 1 Link to comment Share on other sites More sharing options...