Garry's Mod Wiki
Entity, Entity, Entity, Entity constraint.Pulley( Entity ent1, Entity ent4, number bone1, number bone4, Vector localPos1, Vector localPos4, Vector worldPos2, Vector worldPos3, number forceLimit, boolean rigid = false, number width, string material = "", table color = color_white )
Description
Creates a pulley constraint.
It consists of 3 rope segments, 2 of which have variable length, visually connected by a 3rd. Reducing length of one end will increase the length of the other end.
You can visualize the pulley like so
Arguments
Returns
1 Entity
The created constraint. (phys_pulleyconstraint) Will return
false
if the constraint could not be created.2 Entity
The first rope segment. (keyframe_rope) Will return
nil
if the constraint or this rope segment could not be created.3 Entity
The second rope segment. (keyframe_rope) Will return
nil
if the constraint or this rope segment could not be created.4 Entity
The third rope segment. (keyframe_rope) Will return
nil
if the constraint or this rope segment could not be created.This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...