Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check if a point is inside of a polygon?
#1
Photo 
In edit mode, I wanna be able to manually draw a polygon and attach it to the prefab similar to red one in this picture and in play mode, I want to check if a 2D point (x and z) is inside of this polygon.

Does Curvy provide a way to check if a point is inside or not?


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
How to check if a point is inside of a polygon? - by XtroTheArctic - 03-19-2023, 06:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting Distance from a World Point zorksox 3 5 04-16-2024, 07:30 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
  Connection "next' control point jh092 3 15 11-22-2023, 11:47 AM
Last Post: _Aka_

Forum Jump: