PDA

View Full Version : playerPoint vs centerPoint



Abu
12-13-2013, 07:44 PM
Just a question here, which one of these points is closest to the player?

So if I were to do:
sortTPAFrom(tpa, mainScreen.playerPoint);
sortTPAFrom(tpa, mainScreen.centerPoint());

Which one of the above would sort the TPA's closest to my player?

Sjoe
12-13-2013, 07:48 PM
Can't u output the two points and check manually?

Abu
12-13-2013, 08:08 PM
Can't u output the two points and check manually?

Yes I can and indeed it is playerPoint.

Sorry for being lazy :p

Rich
12-13-2013, 08:29 PM
Just to clear up for anyone else wondering, centerPoint is the point in the middle of the game screen whereas playerPoint is the center of your character.