Documentation

Unity Engine

Download Unity

Unity Engine

massOverride

Selects which of the mass, rotational inertia and center of mass are overridden with the authored values instead of being computed from the attached shapes. Anything without a matching bit is computed from the attached shapes as normal. Only applies to a Dynamic body. See PhysicsBody.massOverride.
Read time 1 minuteLast updated 2 days ago

Definition

public PhysicsBody.MassOverride massOverride { readonly get; set; }