Garry's Mod Wiki

Entity:GetParentPhysNum

number 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

1 number
The physics object id, or nil if the entity has no parent

Page Links


Special Pages


Wikis

?

Render Time: 26ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 12
Render Body 0
Render Sidebar 6