Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
383
void BulletObject::Sleep() {
384
body->setActivationState(ISLAND_SLEEPING);
385
}
386
387
void BulletObject::NoSleep() {
388
body->setActivationState(DISABLE_DEACTIVATION);
Callers
5
SetPhysicsTransform
Method · 0.80
SleepPhysics
Method · 0.80
SetDamping
Method · 0.80
UpdateCollisionShape
Method · 0.80
worker
Method · 0.80
Calls
1
setActivationState
Method · 0.80
Tested by
no test coverage detected