diff --git a/SDK/include/NDK/Components/PhysicsComponent2D.inl b/SDK/include/NDK/Components/PhysicsComponent2D.inl index 3105a85ea..bd550c41b 100644 --- a/SDK/include/NDK/Components/PhysicsComponent2D.inl +++ b/SDK/include/NDK/Components/PhysicsComponent2D.inl @@ -171,7 +171,7 @@ namespace Ndk { NazaraAssert(m_object, "Invalid physics object"); - return m_object->GetCenterOfGravity(coordSys); + return m_object->GetMassCenter(coordSys); } /*!