Finding the distance between two points
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
Re: Finding the distance between two points
There are no units.
Re: Finding the distance between two points
More specifically, they are just units. An arbitrary math thing.
Re: Finding the distance between two points
These functions return distances in pixels. Imagine a circle around your object that has the distance in pixel for radius.
Code: Select all
if your.timeSpeed > 0 then universe:update(dt) else universe:destroy() end
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Finding the distance between two points
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
You didn't need to bump this thread. lol
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Finding the distance between two points
People should get a badge under their avatars for /pointlessly/ necroing threads, maybe everlasting shame would be a nice enough deterrent.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Who is online
Users browsing this forum: Google [Bot] and 7 guests