GetEntityBoneWorldPosition

From GT-MP
Jump to: navigation, search
GetEntityBoneWorldPosition
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Gets the position of this bone in world coords.

Syntax

Vector3 API.getEntityBoneWorldPosition(LocalHandle entity, string boneName);

Required Arguments

  • entity: parameter input should be in LocalHandle type.
  • boneName: parameter input should be in string type.


NOTE: This function returns data in Vector3 type.

Usage example(s)

API.getEntityBoneWorldPosition(LocalHandle entity, string boneName);


References