PhysObj:GetMaterial
Description
Returns the physical material ($surfaceprop) of the physics object.
See util.GetSurfaceData for a function that adds these types as well as further explanation of what they are.
Returns
Example
Play an appropriate sound when we hit something.
Garry's Mod
Rust
Steamworks
Wiki Help