Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.constraint.setElasticDamping

S๐Ÿท๏ธ Constraint

Part of StarfallEx namespace

๐Ÿ”— External
constraint.setElasticDamping(index, e, damping)
View on GitHub|lua/starfall/libs_sv/constraint.lua:522
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Sets the damping of an elastic attached to the entity

Parameters

NameTypeDescription
indexnumberIndex of the elastic constraint
eEntityEntity that has the elastic
dampingnumberNew Damping value of the elastic

Returns

TypeDescription
ConstraintThe constraint entity

Examples

No examples available.

Used In

No usages found in the codebase.