PhysicalProperties
Specifies density, friction, elasticity, and their blending weights.
Behavior
PhysicalProperties specifies density, friction, elasticity, and their blending weights.
Summary
The mass density used when deriving the body's mass from its volume.
The restitution coefficient used for contact response.
The weight of this surface's elasticity when combining contact properties.
The friction coefficient used for contact response.
The weight of this surface's friction when combining contact properties.
Constructors
new
PhysicalProperties.new(…)Creates physical properties from density, friction, elasticity, and optional blending weights.
Properties
Density
PhysicalProperties.Density: numberThe mass density used when deriving the body's mass from its volume.
Elasticity
PhysicalProperties.Elasticity: numberThe restitution coefficient used for contact response.
ElasticityWeight
PhysicalProperties.ElasticityWeight: numberThe weight of this surface's elasticity when combining contact properties.
Friction
PhysicalProperties.Friction: numberThe friction coefficient used for contact response.
FrictionWeight
PhysicalProperties.FrictionWeight: numberThe weight of this surface's friction when combining contact properties.
Operators
__eq · __tostring · __type