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

Method isSleeping

physx/source/physx/src/NpRigidDynamic.cpp:349–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347
348
349bool NpRigidDynamic::isSleeping() const
350{
351 NP_READ_CHECK(NpActor::getOwnerScene(*this));
352 PX_CHECK_AND_RETURN_VAL(NpActor::getAPIScene(*this), "PxRigidDynamic::isSleeping: Body must be in a scene.", true);
353
354 return getScbBodyFast().isSleeping();
355}
356
357
358void NpRigidDynamic::setSleepThreshold(PxReal threshold)

Callers 15

stepPhysicsFunction · 0.45
renderActorsFunction · 0.45
simulateMethod · 0.45
stepPhysicsFunction · 0.45
updateMethod · 0.45
onSubstepMethod · 0.45
wakeUpActorsMethod · 0.45
doRaycastCCDMethod · 0.45
operator()Method · 0.45
visualizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected