Garry's Mod Wiki

constraint.Pulley

Entity constraint.Pulley( Entity Ent1, Entity Ent4, number Bone1, number Bone4, Vector LPos1, Vector LPos4, Vector WPos2, Vector WPos3, number forcelimit, boolean rigid, number width, string material )

Description

Creates a pulley constraint.

Arguments

1 Entity Ent1
2 Entity Ent4
3 number Bone1
4 number Bone4
5 Vector LPos1
6 Vector LPos4
7 Vector WPos2
8 Vector WPos3
9 number forcelimit
Amount of force until it breaks (0 = unbreakable)
10 boolean rigid
Whether the constraint is rigid.
11 number width
Width of the rope.
12 string material
Material of the rope.

Returns

1 Entity
Constraint. Will return false if the constraint could not be created.

Page Links


Special Pages


Wikis

?

Render Time: 83ms

DB GetPage 6
Generate Html 44
SaveChanges (1) 12
Render Body 0
Render Sidebar 18