float Density { get; set; }

Summary

Returns average of densities for all physics shapes of this body. This is based on <see cref="P:Sandbox.PhysicsShape.SurfaceMaterial" /> of each shape.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.