constraint.Ballsocket
Entity constraint.Ballsocket( Entity ent1, Entity ent2, number bone1, number bone2, Vector localPos, number forcelimit = 0, number torquelimit = 0, number nocollide = 0 )
Description
Creates a ballsocket joint. See See constraint.AdvBallsocket if you also wish to limit rotation angles in some way.
Arguments
Returns
1 Entity
The created constraint. (phys_ballsocket) Will return
false
if the constraint could not be created.