Object Gravity Modifier
You need to own this item to leave a rating.
Change how much the world’s gravitation influences an object.
** Instructions **
Drop this script in any object with a Rigidbody component, make sure it has motion type 'Dynamic' and change the settings to your needs.
** Settings **
- Gravity Factor: the factor of the world’s gravity that is applied to the object
- Linear Damping: the amount of damping to apply to the object’s linear motion
- Angular Damping: the amount of damping to apply to the object’s angular motion
- Mass: the mass of the object in grams.
- Override Center Of Mass: whether or not to set a custom center of mass.
- Custom Center Of Mass: the custom center of mass of the object in local space.
- Active: toggles the script on or off.
** Changelog **
- Revised code
- Added setting for mass
- Added toggle to make center of mass setting optional
- Added tooltips to the script settings
** Questions, issues or suggestions? **