Entity/SetFriction

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
(Tested on multiple entities and scenarios.)
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=SetFriction
 
|Parent=Entity
 
 
|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.
 
|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:''' Function to be broken.
 
|Realm=Server
 
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes
 +
|Name=SetFriction
 +
|Parent=Entity
 
}}
 
}}
 
{{Arg
 
{{Arg

Revision as of 22:40, 13 August 2015

 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: Function to be broken.

Arguments

number friction

Friction multiplier
Personal tools
Navigation