constraint.Axis
Entity constraint.Axis( Entity ent1, Entity ent2, number bone1, number bone2, Vector localPos1, Vector localPos2, number forceLimit = 0, number torqueLimit = 0, number friction = 0, number noCollide = 0, Vector localAxis = nil, boolean dontAddTable = false )
Description
Creates an axis constraint.
Arguments
11 Vector localAxis = nil
If you include the LocalAxis then LPos2 will not be used in the final constraint. However, LPos2 is still a required argument.
12 boolean dontAddTable = false
Whether or not to add the constraint info on the entity table. See constraint.AddConstraintTable.
Returns
1 Entity
The created constraint. (phys_hinge) Will return
false
if the constraint could not be created.