Page 2 of 2

Re: Finding the distance between two points

Posted: Wed Sep 25, 2013 7:06 pm
by xXxMoNkEyMaNxXx
There are no units.

Re: Finding the distance between two points

Posted: Thu Sep 26, 2013 5:27 pm
by raidho36
More specifically, they are just units. An arbitrary math thing.

Re: Finding the distance between two points

Posted: Thu Jun 15, 2017 2:28 pm
by Le Codex
These functions return distances in pixels. Imagine a circle around your object that has the distance in pixel for radius.

Re: Finding the distance between two points

Posted: Thu Jun 15, 2017 5:29 pm
by Jasoco
They're still arbitrary. You can use them for pixels of course. You can also use them for tiles or in-game measurements of whatever you choose. It's just math.

You didn't need to bump this thread. lol

Re: Finding the distance between two points

Posted: Thu Jun 15, 2017 10:03 pm
by zorg
People should get a badge under their avatars for /pointlessly/ necroing threads, maybe everlasting shame would be a nice enough deterrent. :P

Re: Finding the distance between two points

Posted: Sat Jun 17, 2017 6:32 pm
by Jasoco
Haha. Agreed.