Garry's Mod Wiki
Entity, Entity constraint.Rope( Entity ent1, Entity ent2, number bone1, number bone2, Vector localPos1, Vector localPos2, number length, number addLength = 0, number forceLimit = 0, number width, string material = nil, boolean rigid = false, table color = color_white )
Description
Creates a simple rope (length) based constraint.
Arguments
Returns
1 Entity constraint
The constraint entity (phys_lengthconstraint).
Will be a keyframe_rope if you are roping to the same bone on the same entity. Will return false if the constraint could not be created.
2 Entity rope
The rope entity. Will return
nil if constraint return value is a keyframe_rope or if the constraint 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 four times a day. Edits and history are not available.
Last Parsed: Loading...
