Documentation

Unity Engine

Unity Engine

startMassUpdate

Should the body update its mass properties when this shape is created. Disabling this improves performance when multiple shapes are being added to the same body. The mass of a body can then be explicitly updated by calling PhysicsBody.ApplyMassFromShapes See PhysicsShapeDefinition.startMassUpdate.
Read time 1 minuteLast updated 2 months ago

Definition

public bool startMassUpdate { get; }