Bone IDs: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
==Ped bone IDs== | ==Ped bone IDs== | ||
[[Image:32bones.png|thumb|Bone numbers]] | [[Image:32bones.png|thumb|Bone numbers]] | ||
====Lua table of boneIDs which can be used on [[getElementBonePosition]] function.==== | |||
<syntaxhighlight lang="lua"> | |||
boneIDs = { | |||
0, 1, 2, 3, 4, 5, 6, 7, 8, 21, | |||
22, 23, 24, 25, 26, 31, 32, 33, | |||
34, 35, 36, 41, 42, 43, 44, 51, | |||
52, 53, 54, 201, 301, 302 | |||
} | |||
</syntaxhighlight> | |||
<div style="border: 3px red solid; margin-bottom:3px; padding-left:5px;"> | <div style="border: 3px red solid; margin-bottom:3px; padding-left:5px;"> | ||
Line 36: | Line 46: | ||
*'''302:''' BONE_LEFTBREAST | *'''302:''' BONE_LEFTBREAST | ||
</div> | </div> | ||
== See Also == | |||
* [[id|ID Lists]] | |||
[[Category:Scripting Concepts]] | [[Category:Scripting Concepts]] | ||
[[Category:ID Lists]] | [[Category:ID Lists]] |
Latest revision as of 07:10, 1 January 2022
Ped bone IDs
Lua table of boneIDs which can be used on getElementBonePosition function.
boneIDs = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 21, 22, 23, 24, 25, 26, 31, 32, 33, 34, 35, 36, 41, 42, 43, 44, 51, 52, 53, 54, 201, 301, 302 }
- 0: BONE_ROOT
- 1: BONE_PELVIS1
- 2: BONE_PELVIS
- 3: BONE_SPINE1
- 4: BONE_UPPERTORSO
- 5: BONE_NECK
- 6: BONE_HEAD2
- 7: BONE_HEAD1
- 8: BONE_HEAD
- 21: BONE_RIGHTUPPERTORSO
- 22: BONE_RIGHTSHOULDER
- 23: BONE_RIGHTELBOW
- 24: BONE_RIGHTWRIST
- 25: BONE_RIGHTHAND
- 26: BONE_RIGHTTHUMB
- 31: BONE_LEFTUPPERTORSO
- 32: BONE_LEFTSHOULDER
- 33: BONE_LEFTELBOW
- 34: BONE_LEFTWRIST
- 35: BONE_LEFTHAND
- 36: BONE_LEFTTHUMB
- 41: BONE_LEFTHIP
- 42: BONE_LEFTKNEE
- 43: BONE_LEFTANKLE
- 44: BONE_LEFTFOOT
- 51: BONE_RIGHTHIP
- 52: BONE_RIGHTKNEE
- 53: BONE_RIGHTANKLE
- 54: BONE_RIGHTFOOT
- 201: BONE_BELLY
- 301: BONE_RIGHTBREAST
- 302: BONE_LEFTBREAST