Entity.SetParentPhysNum
From GMod Wiki
Function | |
Syntax | Entity:SetParentPhysNum( Integer physNum ) |
Description: | |
If the entity is parented to an entity that has a model with multiple physics objects (like a ragdoll), this is used to set what physics object number the entity should be parented to on it's parent. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetParentPhysNum]Entity.SetParentPhysNum [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
A player is treated as a single physics entity and therefore does not have the same characteristics that a ragdoll has, i.e setting a phys num on a object parented to a player will not make a difference