From 3cc1861221d761b7f0301b9b61de4e1aa18c09f4 Mon Sep 17 00:00:00 2001 From: Sheikh Dawood Abdul Ajees Date: Mon, 20 Nov 2017 11:35:52 -0600 Subject: PhysX 3.4.1, APEX 1.4.1 Release @23131702 --- PhysX_3.4/Source/LowLevelDynamics/src/DyContactPrepShared.h | 1 + 1 file changed, 1 insertion(+) (limited to 'PhysX_3.4/Source/LowLevelDynamics/src/DyContactPrepShared.h') diff --git a/PhysX_3.4/Source/LowLevelDynamics/src/DyContactPrepShared.h b/PhysX_3.4/Source/LowLevelDynamics/src/DyContactPrepShared.h index c973f1cf..cf1705de 100644 --- a/PhysX_3.4/Source/LowLevelDynamics/src/DyContactPrepShared.h +++ b/PhysX_3.4/Source/LowLevelDynamics/src/DyContactPrepShared.h @@ -118,6 +118,7 @@ inline bool getFrictionPatches(CorrelationBuffer& c, //Rotate the contact normal into world space c.frictionPatchWorldNormal[c.frictionPatchCount] = bodyFrame0.rotate(patch.body0Normal); c.frictionPatchContactCounts[c.frictionPatchCount] = 0; + c.patchBounds[c.frictionPatchCount].setEmpty(); c.correlationListHeads[c.frictionPatchCount] = CorrelationBuffer::LIST_END; PxMemCopy(&c.frictionPatches[c.frictionPatchCount++], &patch, sizeof(FrictionPatch)); } -- cgit v1.2.3