Use a node tree. Rename damping to mass damping.

This commit is contained in:
Irlan
2019-06-03 14:33:42 -03:00
parent 3b910491c3
commit 2c78e67844
6 changed files with 151 additions and 71 deletions

View File

@ -43,7 +43,7 @@ public:
for (u32 i = 0; i < m_mesh.vertexCount; ++i)
{
b3SoftBodyNode* n = m_body->GetVertexNode(i);
n->SetDamping(0.2f);
n->SetMassDamping(0.2f);
}
u32 pinIndex = ~0;