Collision detection between shape geometry(using array of points) and plane geometry

@milind_anantwar
Hi!
Take a look at this post and its codepen example: Check points is inside a polygon - doesn't work correct - #2 by prisoner849
It is for checking, if the center of a bin is inside of the polygon.

Read this topic: [SOLVED] How to find intersection between two Rays?
It’s about intersection of line segments (just line segments, methematical ones :slight_smile:, not THREE.LineSegments())
You can use it for checking, if any line segment of bin rectangle instersects with any line segment of the polygon.

1 Like