PhysX
PhysX copied to clipboard
Point in Polygon problem
Hi!
First of all, I don't know if this is the right place to ask this question because I have no idea about NVIDIA PhysX.
I'm developing a game with Unreal Engine 5.4.2. with C++ and I need to find if a point is inside a polygon. Searching on Internet I have found someone mentioning that it can be done with PhysX. On Wikipedia, I have found that the Ray Casting algorithm or the Winding number algorithm can do it.
If I have a set of 2D points, how can I know if another point is inside the polygon defined by that set of points using PhysX? If it is possible.
Thanks!