MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / dBodySetGravityMode

Function dBodySetGravityMode

3rd_party/Src/ode/ode/src/ode.cpp:786–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784
785
786void dBodySetGravityMode (dBodyID b, int mode)
787{
788 dAASSERT (b);
789 if (mode) b->flags &= ~dxBodyNoGravity;
790 else b->flags |= dxBodyNoGravity;
791}
792
793
794int dBodyGetGravityMode (dBodyID b)

Callers 9

setGravityModeMethod · 0.85
FixBodyFunction · 0.85
SwitchStateMethod · 0.85
set_ApplyByGravityMethod · 0.85
ReleaseFixedMethod · 0.85
ActivateExplosionBoxMethod · 0.85
TryPositionMethod · 0.85
CreateBodyMethod · 0.85
SetApplyGravityMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected