Part of StarfallEx namespace
๐ External
constraint.ballsocket(e1, e2, bone1, bone2, pos, force_lim, torque_lim, nocollide)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Ballsocket two entities together. For more options, see constraint.ballsocketadv
Parameters
| Name | Type | Description |
|---|---|---|
e1 | Entity | The first entity |
e2 | Entity | The second entity |
bone1? | number | Number bone of the first entity. Default 0 |
bone2? | number | Number bone of the second entity. Default 0 |
pos | Vector | Position of the joint, relative to the second entity |
force_lim? | number | Amount of force until it breaks, 0 = Unbreakable. Default 0 |
torque_lim? | number | Amount of torque until it breaks, 0 = Unbreakable. Default 0 |
nocollide? | boolean | Bool whether or not to nocollide the two entities. Default false |
Returns
| Type | Description |
|---|---|
Constraint | The constraint entity |
Examples
No examples available.
Used In
No usages found in the codebase.