Entity.TranslateBoneToPhysBone
From GMod Wiki
| Function | |
| Syntax | Entity:TranslateBoneToPhysBone( Integer bone_number ) |
| Description: | |
| Returns the Physics Bone number corresponding this bone number. | |
| Returns: | Integer Physics Bone number |
| In Object: | Entity |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.TranslateBoneToPhysBone]Entity.TranslateBoneToPhysBone [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional notes
- If the bone doesn't exist or doesn't have a physics bone, this function will return -1.