Revision Difference
Entity:TranslateBoneToPhysBone#514570
<function name="TranslateBoneToPhysBone" parent="Entity" type="classfunc">⤶
<description>⤶
Returns the ID of a <page>PhysObj</page> attached to the given bone. To be used with <page>Entity:GetPhysicsObjectNum</page>.⤶
⤶
See <page>Entity:TranslatePhysBoneToBone</page> for reverse function.⤶
</description>⤶
<realm>Shared</realm>⤶
<args>⤶
<arg name="boneID" type="number">The ID of a bone to look up the "physics root" bone of.</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="number">The <page>PhysObj</page> ID of the given bone.⤶
⤶
* -1 if we somehow cannot translate</ret>⤶
</rets>⤶
</function>⤶
⤶