Player In Line
#1

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)