Entity/GetElasticity

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=GetElasticity
+
|Description=Returns the elasticity of this entity, used by some flying entities such as the Helicopter NPC to determine how much it should bounce around when colliding.
|Parent=Entity
+
|Description=Returns the elasticity of this entity, used by some flying entities such as the Helicopter NPC to determine how much it should bounce around when coliding.
+
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
 +
|Name=GetElasticity
 +
|Parent=Entity
 
}}
 
}}
 
{{Ret
 
{{Ret

Latest revision as of 12:43, 19 March 2016

 Entity:GetElasticity( )

Description

Returns the elasticity of this entity, used by some flying entities such as the Helicopter NPC to determine how much it should bounce around when colliding.

Returns

number

elasticity
Personal tools
Navigation