From 695514989eab1578d9b21580b49370dd2ca236ec Mon Sep 17 00:00:00 2001 From: Irlan Date: Thu, 18 Apr 2019 18:51:49 -0300 Subject: [PATCH] Removed a large cloth radius. The particle radius should be used to avoid visual artifacts and is a small value in typical situations. --- examples/testbed/tests/table_cloth.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/testbed/tests/table_cloth.h b/examples/testbed/tests/table_cloth.h index 71ee69d..32fd016 100644 --- a/examples/testbed/tests/table_cloth.h +++ b/examples/testbed/tests/table_cloth.h @@ -53,7 +53,7 @@ public: for (b3Particle* p = m_cloth->GetParticleList().m_head; p; p = p->GetNext()) { - p->SetRadius(0.2f); + p->SetRadius(0.05f); p->SetFriction(0.2f); } @@ -67,7 +67,6 @@ public: b3HullShape tableShape; tableShape.m_hull = &m_tableHull; - tableShape.m_radius = 0.2f; b3ShapeDef sd; sd.shape = &tableShape;