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

Method Fix

ogsr_engine/xrGame/PHElement.cpp:1431–1439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1429bool CPHElement::get_ApplyByGravity() { return (!!dBodyGetGravityMode(m_body)); }
1430
1431void CPHElement::Fix()
1432{
1433 if (isFixed())
1434 return;
1435
1436 dBodySetNoUpdatePosMode(m_body, 1);
1437 m_flags.set(flFixed, TRUE);
1438 FixBody(m_body);
1439}
1440void CPHElement::ReleaseFixed()
1441{
1442 if (!isFixed())

Callers 5

CreateBodyMethod · 0.80
fix_bonesFunction · 0.80
P_build_ShellFunction · 0.80
CreateBodyMethod · 0.80
freezeFunction · 0.80

Calls 3

dBodySetNoUpdatePosModeFunction · 0.85
FixBodyFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected