diff --git a/src/pe/rigidbody/Sphere.cpp b/src/pe/rigidbody/Sphere.cpp index f4314e9bad63289046a92b42b073bc15d75a60bc..2d45389cb0ddfef29b3f48b41f9f0de44f689135 100644 --- a/src/pe/rigidbody/Sphere.cpp +++ b/src/pe/rigidbody/Sphere.cpp @@ -90,7 +90,7 @@ Sphere::Sphere( id_t const typeId, id_t sid, id_t uid, const Vec3& gpos, const V } else { auto mass = calcMass( radius, Material::getDensity( material ) ); - setMassAndInertia( mass, calcInertia( radius, mass ) ); + setMassAndInertia( mass, calcInertia( mass, radius ) ); } setCommunicating( communicating ); setFinite( true );