A physics surface. This is applied to each <see cref="T:Sandbox.PhysicsShape">PhysicsShape</see> and controls its physical properties and physics related sounds.
AudioSurface |
Defines the audio properties of this surface for Steam Audio
|
BaseSurface |
Filepath of the base surface. Use <see cref="M:Sandbox.Surface.SetBaseSurface(System.String)">SetBaseSurface</see> and <see cref="M:Sandbox.Surface.GetBaseSurface">GetBaseSurface</see>.
|
BounceThreshold |
Velocity threshold, below which objects will not bounce due to their elasticity.
|
Breakables |
Breakable info for this surface material.
|
Dampening |
Currently unused and does nothing.
|
Density |
Density of this surface material. This affects things like automatic mass calculation.
Density is in kg/m^3.
|
Description |
A concise description explaining what this surface property should be used for.
|
Elasticity |
Controls bounciness.
|
Friction |
Friction of this surface material.
|
ImpactEffects |
Impact effects of this surface material.
|
Index |
|
NameHash |
|
RollingResistance |
Controls how easily rolling shapes (sphere, capsule) roll on surfaces.
|
ScrapeEffects |
Scrape effects of this surface material.
|
Sounds |
Sounds associated with this surface material.
|
Tags |
A list of tags as one string.
|
Thickness |
If above 0, the object is considered hollow, and its auto generated mass is affected accordingly.
Thickness is in inches.
|