Garry's Mod Wiki

constraint.Ballsocket

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

Description

Creates a ballsocket joint.

Arguments

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

Returns

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

Page Links


Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 3
Generate Html 27
SaveChanges 10
Render Body 0
Render Sidebar 12