Garry's Mod Wiki

Entity:SetElasticity

  Entity:SetElasticity( number elasticity )

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

1 number elasticity
The elasticity to set.