Garry's Mod Wiki


Entity constraint.Ballsocket( Entity Ent1, Entity Ent2, number Bone1, number Bone2, Vector LocalPos, number forcelimit, number torquelimit, number nocollide )


Creates a ballsocket joint.


1 Entity Ent1
First entity
2 Entity Ent2
Second entity
3 number Bone1
Bone of first entity (0 for non-ragdolls)
4 number Bone2
Bone of second entity (0 for non-ragdolls)
5 Vector LocalPos
Centerposition of the joint, relative to the second entity.
6 number forcelimit
Amount of force until it breaks (0 = unbreakable)
7 number torquelimit
Amount of torque (rotation speed) until it breaks (0 = unbreakable)
8 number nocollide
Whether the entities should be nocollided


1 Entity
Constraint. Will return false if the constraint could not be created.

Page Links

Special Pages



Render Time: 92ms

DB GetPage 15
Generate Html 22
SaveChanges (1) 37
Render Body 0
Render Sidebar 15