Garry's Mod Wiki

Entity:SetParentPhysNum

Entity:SetParentPhysNum( number bone )

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.

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

Arguments

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

Page Links


Special Pages


Wikis

?

Render Time: 72ms

DB GetPage 15
Generate Html 2
SaveChanges (1) 33
Render Body 0
Render Sidebar 19