From c7a921796332e8fcd51f3e05c1a318a41282e1e2 Mon Sep 17 00:00:00 2001 From: sschirm Date: Fri, 6 Jan 2017 14:45:46 +0100 Subject: PhysX 3.4, APEX 1.4 release candidate update: @21542069 --- PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'PhysX_3.4/Source/SimulationController/src/ScBodySim.cpp') 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); -- cgit v1.2.3