Entity:TranslateBoneToPhysBone
Description
Returns the ID of a PhysObj attached to the given bone.
See Entity:TranslatePhysBoneToBone for reverse function.
Arguments
Returns
1 number
The PhysObj ID of the given bone to be used with Entity:GetPhysicsObjectNum or
-1 if we cannot translate for some reason, such as a model bone having no physics object associated with it.
Garry's Mod
Rust
Steamworks
Wiki Help