11.04.2012, 18:14
I need help to solve a mathematical problem, which I'm not very good at.
Look at this graphic:
What I need to do is to detect if the players "steps" on that blue line you see. I can't create a zone because it turns into a square.
I know how to calculate the blue line's length, but I don't know how to detect if the player steps on that line.
Any ideas?
Look at this graphic:
What I need to do is to detect if the players "steps" on that blue line you see. I can't create a zone because it turns into a square.
I know how to calculate the blue line's length, but I don't know how to detect if the player steps on that line.
Any ideas?