| 459 | } |
| 460 | |
| 461 | void Sc::BodyCore::setWakeCounter(PxReal wakeCounter, bool forceWakeUp) |
| 462 | { |
| 463 | mCore.wakeCounter = wakeCounter; |
| 464 | BodySim* sim = getSim(); |
| 465 | if(sim) |
| 466 | { |
| 467 | //wake counter change, we need to trigger dma pxgbodysim data again |
| 468 | updateBodySim(sim); |
| 469 | if((wakeCounter > 0.0f) || forceWakeUp) |
| 470 | sim->wakeUp(); |
| 471 | sim->postSetWakeCounter(wakeCounter, forceWakeUp); |
| 472 | } |
| 473 | } |
| 474 | |
| 475 | void Sc::BodyCore::setSleepThreshold(PxReal t) |
| 476 | { |
nothing calls this directly
no test coverage detected