aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/ClothBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/src/ClothBase.h')
-rw-r--r--NvCloth/src/ClothBase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/NvCloth/src/ClothBase.h b/NvCloth/src/ClothBase.h
index ec1ee40..faca6c9 100644
--- a/NvCloth/src/ClothBase.h
+++ b/NvCloth/src/ClothBase.h
@@ -64,6 +64,7 @@ void initialize(Cloth& cloth, const physx::PxVec4* pIt, const physx::PxVec4* pEn
cloth.mCurrentMotion = physx::PxTransform(physx::PxIdentity);
cloth.mLinearVelocity = physx::PxVec3(0.0f);
cloth.mAngularVelocity = physx::PxVec3(0.0f);
+ cloth.mIgnoreVelocityDiscontinuityNextFrame = false;
cloth.mPrevIterDt = 0.0f;
cloth.mIterDtAvg = MovingAverage(30);
cloth.mTetherConstraintLogStiffness = float(-FLT_MAX_EXP);