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

SFEX.constraint.ballsocket

S๐Ÿท๏ธ Constraint

Part of StarfallEx namespace

๐Ÿ”— External
constraint.ballsocket(e1, e2, bone1, bone2, pos, force_lim, torque_lim, nocollide)
View on GitHub|lua/starfall/libs_sv/constraint.lua:208
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Ballsocket two entities together. For more options, see constraint.ballsocketadv

Parameters

NameTypeDescription
e1EntityThe first entity
e2EntityThe second entity
bone1?numberNumber bone of the first entity. Default 0
bone2?numberNumber bone of the second entity. Default 0
posVectorPosition of the joint, relative to the second entity
force_lim?numberAmount of force until it breaks, 0 = Unbreakable. Default 0
torque_lim?numberAmount of torque until it breaks, 0 = Unbreakable. Default 0
nocollide?booleanBool whether or not to nocollide the two entities. Default false

Returns

TypeDescription
ConstraintThe constraint entity

Examples

No examples available.

Used In

No usages found in the codebase.