Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pipe Game - query
#1
[Image: pipegame.png]

Has one of you a clever idea how I can best query whether a connection between start and goal exists?

Will be add this game in my yabDevelopment Editor as example, but i does not find a fast and easy way to query the game status.
Reply
#2
looks similar to my loopdeloop problem. pick two pionts near the goal and start and see if both are within the pipe. Im my case I was checking tpo see if points were within a loop. same problem.

Let me look at my code and see if I can explain the soulution.
Reply
#3
This explains it best. https://en.wikipedia.org/wiki/Point_in_polygon
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting