update tests

Allow dragging a spring cloth in all spring cloth tests related to the spring cloth

Use gravity acceleration in Earth in all spring cloth tests
This commit is contained in:
Irlan
2018-04-08 21:37:30 -03:00
parent 5342361a5d
commit 052a85eb53
6 changed files with 298 additions and 397 deletions

View File

@ -33,7 +33,7 @@ public:
b3ClothDef def;
def.mesh = &m_clothMesh;
def.density = 0.2f;
def.gravity.Set(2.5f, 5.0f, -10.0f);
def.gravity.Set(0.0f, -10.0f, 0.0f);
def.k1 = 0.2f;
def.k2 = 0.1f;
def.kd = 0.005f;