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

Method setMaxAngVelSq

physx/source/simulationcontroller/src/ScBodyCore.cpp:340–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340void Sc::BodyCore::setMaxAngVelSq(PxReal v)
341{
342 if(mSimStateData && mSimStateData->isKine())
343 mSimStateData->getKinematicData()->backupMaxAngVelSq = v;
344 else
345 {
346 mCore.maxAngularVelocitySq = v;
347 updateBodySim(*this);
348 }
349}
350
351PxReal Sc::BodyCore::getMaxLinVelSq() const
352{

Callers 2

setMaxAngularVelocityMethod · 0.80
setMaxAngularVelocityMethod · 0.80

Calls 3

updateBodySimFunction · 0.85
isKineMethod · 0.80
getKinematicDataMethod · 0.80

Tested by

no test coverage detected