MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / Sleep

Method Sleep

Source/Physics/bulletobject.cpp:383–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383void BulletObject::Sleep() {
384 body->setActivationState(ISLAND_SLEEPING);
385}
386
387void BulletObject::NoSleep() {
388 body->setActivationState(DISABLE_DEACTIVATION);

Callers 5

SetPhysicsTransformMethod · 0.80
SleepPhysicsMethod · 0.80
SetDampingMethod · 0.80
UpdateCollisionShapeMethod · 0.80
workerMethod · 0.80

Calls 1

setActivationStateMethod · 0.80

Tested by

no test coverage detected