Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetFriction( number friction )

Description

Sets friction multiplier for this entity when sliding against a surface. Entities default to 1 (100%) and can be higher.

This may not affect all entities, but does work for players (the range is 0 to 10), as well as other entities using MOVETYPE_STEP

This only multiplies the friction of the entity, to change the value itself use PhysObj:SetMaterial.

Arguments

1 number friction
Friction multiplier

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...