G.MakeNail
From GMod Wiki
| Function | |
| Syntax |
MakeNail( Entity Ent1, Entity Ent2, Number Bone1, Number Bone2, Number forcelimit, Vector Pos, Angle Ang ) Where is this used? |
| Description: | |
| Creates a nail that joins two objects. | |
| Returns: | Table , Entity |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.MakeNail]G.MakeNail [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Creates a nail that constrains two props. (Source Code) |
|---|---|
| Used on | |
| Code | local constraint, nail = MakeNail( trace.Entity, trTwo.Entity, trace.PhysicsBone, trTwo.PhysicsBone, forcelimit, vOrigin, vDirection ) |
| Output | N/A |