We use cookies on this site to enhance your user experience
Collapse Sidebar

PhysicalProperties

PhysicalProperties

Constructors

PhysicalProperties.new ( Enum material )

Creates a PhysicalProperties container, with the density, friction, and elasticity specified for this Material.

PhysicalProperties.new ( number density, number friction, number elasticity )

Creates a PhysicalProperties container, with the specified density, friction, and elasticity.

PhysicalProperties.new ( number density, number friction, number elasticity, number frictionWeight, number elasticityWeight )

Creates a PhysicalProperties container, with the specified density, friction, and elasticity, as well as the weight of the friction and elasticity.

Properties

number PhysicalProperties.Density

The density set for the custom physical properties.

number PhysicalProperties.Friction

The friction set for the custom physical properties.

number PhysicalProperties.Elasticity

The elasticity set for the custom physical properties.

number PhysicalProperties.FrictionWeight

The friction weight set for the custom physical properties.

number PhysicalProperties.ElasticityWeight

The elasticity weight set for the custom physical properties.