diff --git a/src/bounce/cloth/cloth_contact.cpp b/src/bounce/cloth/cloth_contact.cpp index 814a728..be57dad 100644 --- a/src/bounce/cloth/cloth_contact.cpp +++ b/src/bounce/cloth/cloth_contact.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include // @@ -134,7 +135,7 @@ void b3ParticleTriangleContact::Update() } float32 r1 = m_p1->m_radius; - float32 r2 = 0.0f; + float32 r2 = m_t2->m_radius; float32 totalRadius = r1 + r2;