You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Hi @ViaCognita
No, this isn't the right place. PhysX is a physics simulation library, and what you need is some geometry query library or just a function. I think the easiest thing you can do is just ask ChatGPT to write the function for you. It should be pretty simple.
Cheers
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!
The text was updated successfully, but these errors were encountered: