Revision Difference
constraint.Pulley#544128
<function name="Pulley" parent="constraint" type="libraryfunc">
<description>Creates a pulley constraint.</description>
<realm>Server</realm>
<file line="1133">lua/includes/modules/constraint.lua</file>
<args>
<arg name="Ent1" type="Entity"></arg>
<arg name="Ent4" type="Entity"></arg>
<arg name="Bone1" type="number"></arg>
<arg name="Bone4" type="number"></arg>
<arg name="LPos1" type="Vector"></arg>
<arg name="LPos4" type="Vector"></arg>
<arg name="WPos2" type="Vector"></arg>
<arg name="WPos3" type="Vector"></arg>
<arg name="forcelimit" type="number">Amount of force until it breaks (0 = unbreakable)</arg>
<arg name="rigid" type="boolean">Whether the constraint is rigid.</arg>
<arg name="width" type="number">Width of the rope.</arg>
<arg name="material" type="string">Material of the rope.</arg>
<arg name="color" type="table">The color of the rope. See <page>Global.Color</page>.</arg>⤶
</args>
<rets>
<ret name="" type="Entity">Constraint. Will return false if the constraint could not be created.</ret>
</rets>
</function>