Does UE 5.2+ have anything built in for AABB/Triangle intersections?
It has ones for Line/Box, Line/Plane, Line/Sphere etc. but I need to see if a triangle intersects a box and if a box is inside a triangle too.
Does UE 5.2+ have anything built in for AABB/Triangle intersections?
It has ones for Line/Box, Line/Plane, Line/Sphere etc. but I need to see if a triangle intersects a box and if a box is inside a triangle too.
So I couldn’t find any specific built in functionality but I did find a resource where the code seems to work well. I have tried various resources but this is the only one that I’ve managed to get to work completely.
Here’s the relevant code ported into UE5 C++ in a snippet.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.