diff --git a/src/obj/bhkRigidBody.cpp b/src/obj/bhkRigidBody.cpp index 358ec06acfb5aff92c42ffd0c976d292a3d8cbf8..65b44d2ccafc5fcc99bbeb193ab9b2bf53b1f42f 100644 --- a/src/obj/bhkRigidBody.cpp +++ b/src/obj/bhkRigidBody.cpp @@ -366,7 +366,7 @@ array<12,float> bhkRigidBody::GetInertia() const { result[9] = inertia.m32; result[10] = inertia.m33; result[11] = inertia.m34; - return inertia; + return result; } void bhkRigidBody::SetInertia( const array<12,float>& value ) {