Garry's Mod Wiki

Revision Difference

Entity:GetFriction#551032

<function name="GetFriction" parent="Entity" type="classfunc"> <description>Returns how much friction an entity has. Entities default to 1 (100%) and can be higher or even negative.</description> <realm>Server</realm>⤶ <description>Returns the friction modifier for this entity. Entities default to `1` (100%) and can be higher.</description> <realm>Shared</realm>⤶ <rets> <ret name="" type="number">friction</ret> </rets> </function>