From 491ab8b92cb55274236da82e38bf7334f03df3d6 Mon Sep 17 00:00:00 2001 From: Josef Date: Fri, 27 Jun 2025 07:36:01 +0200 Subject: [PATCH] Overlap3D Fix --- Runtime/Math/Geometry/Overlap3D.cs | 6 ++++++ 1 file changed, 6 insertions(+) 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