diff options
| author | Marijn Tamis <[email protected]> | 2018-05-03 18:22:48 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2018-05-03 18:22:48 +0200 |
| commit | ca32c59a58d37c1822e185a2d5f3d0d3e8943593 (patch) | |
| tree | b06b9eec03f34344ef8fc31aa147b2714d3962ee /NvCloth/src/ClothBase.h | |
| parent | Forced rename of platform folders in cmake dir. Git didn't pick this up before. (diff) | |
| download | nvcloth-ca32c59a58d37c1822e185a2d5f3d0d3e8943593.tar.xz nvcloth-ca32c59a58d37c1822e185a2d5f3d0d3e8943593.zip | |
NvCloth 1.1.4 Release. (24070740)
Diffstat (limited to 'NvCloth/src/ClothBase.h')
| -rw-r--r-- | NvCloth/src/ClothBase.h | 1 |
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); |