constraint.Pulley

From Garry's Mod
Jump to: navigation, search
 constraint.Pulley( )

Contents

Description

Creates a pulley constraint.

Arguments

Entity Ent1

Arguments

Entity Ent4

Arguments

number Bone1

Arguments

number Bone4

Arguments

Vector LPos1

Arguments

Vector LPos4

Arguments

Vector WPos2

Arguments

Vector WPos3

Arguments

number forcelimit

Amount of force until it breaks (0 = unbreakable)

Arguments

boolean rigid

Whether the constraint is rigid.

Arguments

number width

Width of the rope.

Arguments

string material

Material of the rope.

Returns

Entity

Constraint. Will return false if the constraint could not be created.
Personal tools
Navigation