constraint.Muscle
From GMod Wiki
Function | |
Syntax |
constraint.Muscle( 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 period, Number amplitude ) Where is this used? |
Description: | |
Creates a muscle 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.Muscle]Constraint.Muscle [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- The first return value may be false if the constraint fails to be created.
- controller and slider my be nil depending on how the constraint is created.