30.10.2011, 02:07
OK, I want to set world bounds to players in a non-rectangular map.. It is like two rectangles on top of another bot one goes to the left, one to the right...
Something like this
I want to save the trouble by getting the players position when he is in between them.. etc.. so is there an easier way?
If not, how do i get if a player is in between 4 points on a graph(map)..
Something like this

Which is a tilted figure.. this would help me on making it easier..
I can't think of anything right now.. I am too tired..
Regards.
Something like this

I want to save the trouble by getting the players position when he is in between them.. etc.. so is there an easier way?
If not, how do i get if a player is in between 4 points on a graph(map)..
Something like this

Which is a tilted figure.. this would help me on making it easier..
I can't think of anything right now.. I am too tired..
Regards.