Garry's Mod Wiki

Garry's Mod Wiki

  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)

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...