Garry's Mod Wiki

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: 27ms

Session 0
DB GetPage 3
Generate Html 2
SaveChanges 9
Render Body 0
Render Sidebar 11