saharan / OimoPhysics

A cross-platform 3D physics engine
MIT License
863 stars 68 forks source link

Distinguish rigid body's origin from the center of gravity #28

Open saharan opened 4 years ago

saharan commented 4 years ago

related to #27

RigidBody should store the local position of the center of gravity so that the mass data will automatically be updated when shapes are added/removed.