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

Method setMaxLinVelSq

physx/source/simulationcontroller/src/ScBodyCore.cpp:356–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void Sc::BodyCore::setMaxLinVelSq(PxReal v)
357{
358 if (mSimStateData && mSimStateData->isKine())
359 mSimStateData->getKinematicData()->backupMaxLinVelSq = v;
360 else
361 {
362 mCore.maxLinearVelocitySq = v;
363 updateBodySim(*this);
364 }
365}
366
367void Sc::BodyCore::setFlags(Ps::Pool<SimStateData>* simStateDataPool, PxRigidBodyFlags f)
368{

Callers 2

setMaxLinearVelocityMethod · 0.80
setMaxLinearVelocityMethod · 0.80

Calls 3

updateBodySimFunction · 0.85
isKineMethod · 0.80
getKinematicDataMethod · 0.80

Tested by

no test coverage detected