Garry's Mod Wiki

Entity:SetFriction

Entity:SetFriction( number friction )

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.

Works only for MOVETYPE_STEP entities.
This has no effect on players.

Arguments

1 number friction
Friction multiplier

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 2
Generate Html 4
SaveChanges 9
Render Body 0
Render Sidebar 11