Kristoffer 24 Posted February 20, 2015 For some reason else if (player.getTile().distance(new Tile(2532, 3546, 1)) < 2) { returns true even after I climb down the ladder, is it not detecting the plane change or should I do this differently?
Botre 27 Posted February 20, 2015 For some reason else if (player.getTile().distance(new Tile(2532, 3546, 1)) < 2) { returns true even after I climb down the ladder, is it not detected the plane change or should I do this differently? I'm not sure if planes are accounted for in the distance calculation, I doubt it actually. Just add a plane check
Nuclear Nezz 2094 Posted February 20, 2015 I'm not sure if planes are accounted for in the distance calculation, I doubt it actually. Just add a plane check Botre is right, we don't account for plane in distance checks. :x I'll put it on my list of things to look at though.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.