| 2915 | } |
| 2916 | |
| 2917 | float 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 | |
| 2925 | void RiggedObject::ApplyForceToRagdoll(const vec3& force, const vec3& position) { |
| 2926 | std::vector<float> dist(skeleton_.physics_bones.size()); |
no test coverage detected