Entity/GetElasticity

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Filled in the page)
m
Line 2: Line 2:
 
|Name=GetElasticity
 
|Name=GetElasticity
 
|Parent=Entity
 
|Parent=Entity
|Description=Returns the elasticity of this entity, used by some flying entities such as the Helicopter NPC.
+
|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

Revision as of 13:09, 23 August 2014

 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 coliding.

Returns

number

elasticity
Personal tools
Navigation