Fix Frame Issue in mjCBody::AccumulateInertia

This commit is contained in:
Aditya kumar singh
2026-01-18 17:25:49 +05:30
parent bb4df33adf
commit 84c8cf432c
+1 -1
View File
@@ -2263,7 +2263,7 @@ void mjCBody::AccumulateInertia(const mjsBody* other, mjsBody* result) {
};
double iquat[2][4] = {
{result->iquat[0], result->iquat[1], result->iquat[2], result->iquat[3]},
{other->iquat[0], other->iquat[1], other->iquat[2], other->iquat[3]}
{other_iquat[0], other_iquat[1], other_iquat[2], other_iquat[3]}
};
// compute total mass