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

Method GetStatusKeyValue

Source/Objects/riggedobject.cpp:2917–2923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2915}
2916
2917float RiggedObject::GetStatusKeyValue(const std::string& label) {
2918 if (status_keys.find(label) != status_keys.end()) {
2919 return status_keys[label];
2920 } else {
2921 return 0.0f;
2922 }
2923}
2924
2925void RiggedObject::ApplyForceToRagdoll(const vec3& force, const vec3& position) {
2926 std::vector<float> dist(skeleton_.physics_bones.size());

Callers 1

CDrawArmsImplFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected