Entity/SetFriction

From Garry's Mod
Jump to: navigation, search
 Entity:SetFriction( )

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.

BUG

This has no effect on players.

Issue Tracker: #1395

Arguments

number friction

Friction multiplier
Personal tools
Navigation