Fix rigidbody config

Prevent the script from assigning illegal values for rotation and
inertiaTensorRotation.
Update obsolete variables

Update obsolete variables (RigidBody)