ドキュメント

Unity Engine

Unity Engine

PhysicsBody.MassOverride

Selects which of the mass, rotational inertia and center of mass are overridden with authored values instead of being computed from the attached shapes.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

[Flags]public enum PhysicsBody.MassOverride

Fields

Value

Description

AllOverride the mass, rotational inertia and center of mass.
CenterOfMassOverride the center of mass. A rotational inertia that is not itself overridden is shifted to the overridden center.
MassOverride 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.
NoneNothing is overridden; the whole mass configuration is computed from the attached shapes.
RotationalInertiaOverride the rotational inertia.