Skip to content
FYP edited this page Aug 9, 2017 · 1 revision

Functions

get_char_bone

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.

Class bone

Members

bone:get_pointer

uint ptr = bone:get_pointer()

bone.matrix

Matrix matrix = bone.matrix

bone.vector

Vector3D vector = bone.vector

bone.quaternion

Quaternion quat = bone.quaternion

Enums

bone_id

  • 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
Clone this wiki locally