PhysObj.SetMaterial
From GMod Wiki
Function | |
Syntax | PhysObj.SetMaterial( String material ) |
Description: | |
Sets the material. Used for Various things. | |
Returns: | nil |
In Object: | Physobj |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=PhysObj.SetMaterial]PhysObj.SetMaterial [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This effects things like sound affects, bounciness, buoyancy, friction, bullet impact...
- This has nothing to do with Entity.SetMaterial
- Here's a list of all the surface materials you can use http://developer.valvesoftware.com/wiki/Material_surface_properties
- If you want a silent material, use "default_silent"