Edit hidden variables of RigidBody


Change the centerOfMass, and other hidden variable of your rigidBody directly fro editor ! It Allow to modify this parametter bellow for a specific rigidBody:
  • Center of mass (by default calculated at the center of Bounds)
  • Solver Iteration (accuracy of physics calculation)
  • Sleep threshold (used to have more stable bodies)
  • Max Depenetration Velocity (used to move bodies out of colliding state)

Demmonstration

Here you see how easy it is to change the center of mass of a rigidbody from editor.

Code is not avaible for now, contact me if you are interested.









See also:

Animator Extension: How to use advanced reflection step by step

Auto-play from the scene view the first animation of an Animator, without any additionnal script on gameObjects !


Enhance any built-in components of unity

Add behavior of any unity components using customs inspectors and reflection


Switch Camera Projection

Swap the Projection camera from Perspective to Orthographic using a linear interpolation function coupled with an easing function