-
Notifications
You must be signed in to change notification settings - Fork 3
Char Bone
FYP edited this page Aug 9, 2017
·
1 revision
Bone bone = get_char_bone(Ped handle, int bone_id)
Gets character's bone information by its identifier and returns bone
object.
Returns nil
on failure.
uint ptr = bone:get_pointer()
Matrix matrix = bone.matrix
Vector3D vector = bone.vector
Quaternion quat = bone.quaternion
PELVIS_1
PELVIS
SPINE
UPPER_TORSO
NECK
HEAD_2
HEAD_1
HEAD
RIGHT_UPPER_TORSO
RIGHT_SHOULDER
RIGHT_ELBOW
RIGHT_WRIST
RIGHT_HAND
RIGHT_THUMB
LEFT_UPPER_TORSO
LEFT_SHOULDER
LEFT_ELBOW
LEFT_WRIST
LEFT_HAND
LEFT_THUMB
LEFT_HIP
LEFT_KNEE
LEFT_ANKLE
LEFT_FOOT
RIGHT_HIP
RIGHT_KNEE
RIGHT_ANKLE
RIGHT_FOOT