How to define lines and check on click which body is clicked?
How to define lines and check on click which body is clicked?
How can I define lines so when I click on the screen, my program knows whether I clicked on A B or C?
You're viewing a single thread.
All comments
10
comments
The long way is point in polygon: https://en.wikipedia.org/wiki/Point_in_polygon
If you're using web, the easy way is use SVG
9 0 Reply
10
comments
Scroll to top