Entity/SetParentPhysNum

From Garry's Mod
Jump to: navigation, search
 Entity:SetParentPhysNum( )

Description

Sets the parent of an entity to another entity with the given physics bone number. Similar to Entity:SetParent, except it is parented to a physbone. This function is useful mainly for ragdolls.

NOTE

Despite this function being available server side, it doesn't actually do anything server side.

Arguments

number bone

Physics bone number to attach to. Use 0 for objects with only one physics bone. (See Entity:GetPhysicsObjectNum)
Personal tools
Navigation