19.07.2009, 14:53
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?
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?