aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp')
-rw-r--r--PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp b/PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp
index b133f65d..3a0cc9c7 100644
--- a/PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp
+++ b/PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp
@@ -23,7 +23,7 @@
// components in life support devices or systems without express written approval of
// NVIDIA Corporation.
//
-// Copyright (c) 2008-2016 NVIDIA Corporation. All rights reserved.
+// Copyright (c) 2008-2017 NVIDIA Corporation. All rights reserved.
// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
@@ -956,6 +956,9 @@ void Sc::BodySim::setArticulation(Sc::ArticulationSim* a, PxReal wakeCounter, bo
mNodeIndex.setIndices(index.index(), bodyIndex);
getBodyCore().setWakeCounterFromSim(wakeCounter);
+ if (getFlagsFast() & PxRigidBodyFlag::eENABLE_SPECULATIVE_CCD)
+ getScene().setSpeculativeCCDArticulationLink(mNodeIndex.index());
+
if (!asleep)
{
setActive(true);