World BOunds.
#1

Is the function SetPlayerWorldBounds have some connection with "North"(N letter on radar) ?

I have one problem.... I take player position from one place, then from other place. Then count maxX, minX, maxY, minY and set world bounds, but if "North"(n letter on radar) is not on bootom of player when i take his position, the area is messed up o_O
Here the example:


When N is on bottom of player when i take two points(red circles), i have good world boundaries zone, this example is good:



When N is on the corner of player when i take two points(red circles), i have bad world boundaries zone, this example is bad:



I tried take 4 points, but problem still the same if N is in the corner of player when i take points.

Why this happening ? How to fix this problem?
Reply


Messages In This Thread
World BOunds. - by Dreftas - 19.07.2009, 14:53
Re: World BOunds. - by -Sneaky- - 19.07.2009, 15:00
Re: World BOunds. - by Dreftas - 19.07.2009, 15:03
Re: World BOunds. - by -Sneaky- - 19.07.2009, 15:24
Re: World BOunds. - by Dreftas - 19.07.2009, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)