diff --git a/Runtime/Math/Geometry/Overlap3D.cs b/Runtime/Math/Geometry/Overlap3D.cs index 68f7628..da46c5a 100644 --- a/Runtime/Math/Geometry/Overlap3D.cs +++ b/Runtime/Math/Geometry/Overlap3D.cs @@ -40,5 +40,11 @@ namespace Rokojori { return b.SquareDistanceTo( a ) <= 0; } + + public static bool Has( Capsule3 a, Capsule3 b ) + { + return a.DistanceTo( b ) <= 0; + } + } } \ No newline at end of file