Garry's Mod Wiki

Revision Difference

Entity:SetFriction#514697

<function name="SetFriction" parent="Entity" type="classfunc">⤶ <description>⤶ Sets how much friction an entity has when sliding against a surface. Entities default to 1 (100%) and can be higher or even negative.⤶ ⤶ <note>Works only for MOVETYPE_STEP entities.</note>⤶ ⤶ <bug issue="1395">This has no effect on players.</bug>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="friction" type="number">Friction multiplier</arg>⤶ </args>⤶ </function>⤶ ⤶