Replies: 2 comments 2 replies
-
Here's a briefly tested function that could be added to
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Ok, I managed to make it to work without using clipper2, just by checking if every of the small square points is inside of at least one triangle of the walking area. Sorry for bothering. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, let's say I have some random closed plane shape with two holes (as target, yellow area) and a small square shape of a character (as clip, bottom side of the green cube, i.e. a square projected on the yellow area).
How would I implement a system checking if the green square is inside of the yellow area?
If I just do something like the example on the main page I dont get adequate results.
If we take the image above, I expect the green square to be inside of yeallow area, but the output says it's not:
So I cant just feed the points into Clipper2 library so it constructs everything by itself? I assume I should separate somehow yellow area into three parts:
How would I do that? I just slapped some shape in Blender and exported it into the thing.
Beta Was this translation helpful? Give feedback.
All reactions