Skip to main content

PhysicMaterial

info

PhysicMaterial inherits from Object

Physics material describes how to handle colliding objects (friction, bounciness). Unity PhysicMaterial

Members

Properties

NameDescription
PhysicMaterial.bounceCombineDetermines how the bounciness is combined.
PhysicMaterial.bouncinessHow bouncy is the surface? A value of 0 will not bounce. A value of 1 will bounce without any loss of energy.
PhysicMaterial.dynamicFrictionThe friction used when already moving. This value is usually between 0 and 1.
PhysicMaterial.frictionCombineDetermines how the friction is combined.
PhysicMaterial.staticFrictionThe friction coefficient used when an object is lying on a surface.

Constructor

NameDescription
PhysicMaterial()Creates a new material.

Inherited Members

Inherited Properties

NameDescription
PhysicMaterial.hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
PhysicMaterial.nameThe name of the object.

Inherited Methods

NameDescription
PhysicMaterial.GetInstanceID()Returns the instance id of the object.