Entity/GetParentPhysNum

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

Description

If the entity is parented to an entity that has a model with multiple physics objects (like a ragdoll), this is used to retrieve what physics object number the entity is parented to on it's parent.

Returns

number

The physics object id, or nil if the entity has no parent
Personal tools
Navigation