Sandbox Logo

PhysicsGroup.Mass

float Mass { get; set; }

Description

The total mass of all the <b>dynamic</b><see cref="T:Sandbox.PhysicsBody">PhysicsBodies</see> in this group. When setting the total mass, it will be set on each body proportionally to each of their old masses, i.e. if a body had 25% of previous total mass, it will have 25% of new total mass.

Return

User Comments