Could I get in touch with someone who properly understands the MoveToPos function?
There are some distance calculation which seem to be pretty wrong from my point of view ;o
distance calculations how they are done right now
double distance = Math.Sqrt(pos.x * pos.x + pos.y * pos.y + pos.z * pos.z);
this gives you the distance to coordinate (0;0;0)how they could be done
public static double getDistance(Vec3 Pos) //gets the distance between a player and an object
Vec3 _pos = Data.GetCurrentPos(); //current player position(x,y,z)
double vecX = Math.Sqrt((_pos.x - Pos.x) * (_pos.x - Pos.x)); //unsigned x amount
double vecY = Math.Sqrt((_pos.y - Pos.y) * (_pos.y - Pos.y)); //unsigned y amount
double vecZ = Math.Sqrt((_pos.z - Pos.z) * (_pos.z - Pos.z)); //unsigned z amount
return Math.Sqrt((vecX * vecX) + (vecY * vecY) + (vecZ * vecZ)); //returns distance from player to object in double
Also I really cant seem to find anything regarding interfaces like vendor or waypoint, are we use clicks for this?
what about a thread for discussions? or did i miss it