G.MakeNail

From GMod Wiki

Revision as of 20:39, 11 November 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.MakeNail]G.MakeNail [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionCreates a nail that constrains two props. (Source Code)
Used onNewerShared.png
Code
local constraint, nail = MakeNail( trace.Entity, trTwo.Entity, trace.PhysicsBone, trTwo.PhysicsBone, forcelimit, vOrigin, vDirection )
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox