Applied a bugfix.
This commit is contained in:
parent
4407e31d8a
commit
00ae0296e7
@ -77,7 +77,7 @@ void b3SpringForce::Apply(const b3ClothSolverData* data)
|
|||||||
|
|
||||||
float32 L = b3Length(dx);
|
float32 L = b3Length(dx);
|
||||||
|
|
||||||
if (L >= m_L0)
|
if (L > m_L0)
|
||||||
{
|
{
|
||||||
// Apply tension
|
// Apply tension
|
||||||
b3Vec3 n = dx / L;
|
b3Vec3 n = dx / L;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user