Wtf. You want every object and coordinates?
|
i would like to know if someone got a method that list all the object ids that is between the player coords and another coords .
Wtf. You want every object and coordinates?
" no noobs" ? you're a noob this makes no sense..
This has already been resolved. But if someone would want to know.
You'd need to use math to get the formula of a line, then parse every object in the region.
You then put the coordinates in the formula of the line and check if the formula is correct. If it is, then your object is somewhere on the line. In that case, depending on the situation, you check if x or y is between the 2 endpoints.
English please. People won't understand this at all. Make it easy for the noobs =)
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |