PhysicMaterial
info
PhysicMaterial inherits from Object
Physics material describes how to handle colliding objects (friction, bounciness). Unity PhysicMaterial
Members
Properties
Name | Description |
---|---|
PhysicMaterial .bounceCombine | Determines how the bounciness is combined. |
PhysicMaterial .bounciness | How bouncy is the surface? A value of 0 will not bounce. A value of 1 will bounce without any loss of energy. |
PhysicMaterial .dynamicFriction | The friction used when already moving. This value is usually between 0 and 1. |
PhysicMaterial .frictionCombine | Determines how the friction is combined. |
PhysicMaterial .staticFriction | The friction coefficient used when an object is lying on a surface. |
Constructor
Name | Description |
---|---|
PhysicMaterial() | Creates a new material. |
Inherited Members
Inherited Properties
Name | Description |
---|---|
PhysicMaterial .hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
PhysicMaterial .name | The name of the object. |
Inherited Methods
Name | Description |
---|---|
PhysicMaterial .GetInstanceID() | Returns the instance id of the object. |