Entity/SetElasticity

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Filled in the page)
m
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=SetElasticity
+
|Description=Sets 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=Sets 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=SetElasticity
 +
|Parent=Entity
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 12:43, 19 March 2016

 Entity:SetElasticity( )

Description

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

Arguments

number elasticity

The elasticity to set.
Personal tools
Navigation