| 347 | |
| 348 | |
| 349 | bool 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 | |
| 358 | void NpRigidDynamic::setSleepThreshold(PxReal threshold) |
no outgoing calls
no test coverage detected