physics.surface
Fields
| Name | Type | Description |
|---|---|---|
Materials | table<string, integer> | https://wiki.facepunch.com/gmod/Enums/MAT https://developer.valvesoftware.com/wiki/Material_Types |
Functions
#physics.surface.add
function physics.surface.add(data: garrysmod.SurfacePropertyData | table)
Adds surface properties to the game's physics environment.
Parameters
| Name | Type | Description |
|---|---|---|
data | garrysmod.SurfacePropertyData | table | The surface data to be added. |