MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / freezeTransforms

Method freezeTransforms

physx/source/simulationcontroller/src/ScBodySim.cpp:955–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953}
954
955void BodySim::freezeTransforms(Cm::BitMapPinned* shapeChangedMap)
956{
957 ElementSim* current = getElements_();
958 while(current)
959 {
960 ShapeSim* sim = static_cast<ShapeSim*>(current);
961 sim->updateCached(PxsTransformFlag::eFROZEN, shapeChangedMap);
962 sim->destroySqBounds();
963 current = current->mNextInActor;
964 }
965}
966
967void BodySim::disableCompound()
968{

Callers 2

runInternalMethod · 0.80
afterIntegrationMethod · 0.80

Calls 2

updateCachedMethod · 0.45
destroySqBoundsMethod · 0.45

Tested by

no test coverage detected