constraint.Hydraulic
From GMod Wiki
Function | |
Syntax |
constraint.Hydraulic( Player pl, Entity Ent1, Entity Ent2, Number Bone1, Number Bone2, Vector LPos1, Vector LPos2, Number Length1, Number Length2, Number width, Number key, Number fixed, Number speed ) Where is this used? |
Description: | |
Creates a hydraulic constraint. | |
Returns: | Entity constraint, Entity rope, Entity controller, Entity slider |
Part of Library: | Constraint |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Constraint.Hydraulic]Constraint.Hydraulic [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- The first returned parameter will be false if the constraint couldn't be created.
- controller and slider might be nil depending on how the constraint is being created.
See Also
This article is a stub. You can help the GMod Wiki by expanding it. |