Hey! I just made a map with 3DWS and exported it and at position 1048, 256, 720 i put an entity to represent a window. So then in Dark GDK i'm checking the distance from the window using the distance formula (square root of ( x2-x1 squared + y2-y1 squared + z2-z1 squared )). I assumed this would work fine but it's not, so i checked the position of the object that's moving to the entity and it's at a very large position of 1610612736, -2147483648, -536870912. And every few seconds the positions switch from negative to positive and back again. Why is all of this happening?
Note: I'm using this to display the position:
char czText[256];
wsprintf ( czText, "X: %d", dbObjectPositionX ( 1 ) );
dbText ( 60, 200, czText );