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
  Control Point Interpolation Overrides. rickgplus 1 1,008 12-11-2025, 08:52 AM
Last Post: _Aka_
  12_Train junction point richardzzzarnold 5 4,217 04-16-2025, 02:19 PM
Last Post: _Aka_
  OnAfterControlPointAdded - Control Point is null jh092 5 3,957 02-04-2025, 09:31 PM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 1,993 12-10-2024, 10:14 PM
Last Post: _Aka_

Forum Jump: