GetPedBoneMatrix
клиент GET_PED_BONE_MATRIX
c
void GET_PED_BONE_MATRIX(Ped ped, int boneId, Vector3* forwardVector, Vector3* rightVector, Vector3* upVector, Vector3* position);Returns the bone matrix of the specified bone id. usefull for entity attachment
Примеры
lua
local fowardVector, rightVector, upVector, position = GetPedBoneMatrix(PlayerPedId(),boneId)Параметры
- ped:
- boneId:
Возвращает
- forwardVector:
- rightVector:
- upVector:
- position:
Страница собрана автоматически из native-decls/GetPedBoneMatrix.md. Нашли ошибку — поправьте исходный файл.