From 2d045de589d1e661650044cfed3aa64e40d8e21c Mon Sep 17 00:00:00 2001 From: Xuchen Han Date: Sat, 28 Sep 2019 14:39:46 -0700 Subject: [PATCH] parameter change in ClothFriction Demo --- examples/DeformableDemo/ClothFriction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/DeformableDemo/ClothFriction.cpp b/examples/DeformableDemo/ClothFriction.cpp index cd09a17d8..ef9c8da47 100644 --- a/examples/DeformableDemo/ClothFriction.cpp +++ b/examples/DeformableDemo/ClothFriction.cpp @@ -146,7 +146,7 @@ void ClothFriction::initPhysics() btVector3(+s, h, -s), btVector3(-s, h, +s), btVector3(+s, h, +s), - 20,20, + 10,10, 0, true); psb->getCollisionShape()->setMargin(0.05); @@ -174,7 +174,7 @@ void ClothFriction::initPhysics() btVector3(+s, h, -s), btVector3(-s, h, +s), btVector3(+s, h, +s), - 10,10, + 5,5, 0, true); psb2->getCollisionShape()->setMargin(0.05); psb2->generateBendingConstraints(2);