Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

MassOverride

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Selects which of the mass, rotational inertia and center of mass are overridden with authored values instead of being computed from the attached shapes.

Properties

Property Description
None Nothing is overridden; the whole mass configuration is computed from the attached shapes.
Mass Override the mass. A rotational inertia that is not itself overridden is scaled to the overridden mass, as if the same shapes had a different uniform density.
RotationalInertia Override the rotational inertia.
CenterOfMass Override the center of mass. A rotational inertia that is not itself overridden is shifted to the overridden center.
All Override the mass, rotational inertia and center of mass.