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

SFEX.constraint.setElasticConstant

S๐Ÿท๏ธ Constraint

Part of StarfallEx namespace

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

Description

Sets the constant of an elastic attached to the entity

Parameters

NameTypeDescription
indexnumberIndex of the elastic constraint
eEntityEntity that has the elastic
constantnumberNew constant value of the elastic

Returns

TypeDescription
ConstraintThe constraint entity

Examples

No examples available.

Used In

No usages found in the codebase.