GetVehicleBoneLocation

From Onset Developer Wiki
Revision as of 14:21, 20 October 2019 by BlueMountains (talk | contribs)
GetVehicleBoneLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Returns the location of a vehicle bone/socket.

Syntax

GetVehicleBoneLocation(vehicle, BoneName [, BoneSpace])

Parameters

  • vehicle
    The vehicle identifier.
  • BoneName
    The bone name as string.
  • BoneSpace (optional)
    1 for WorldSpace, 2 for LocalSpace.

Return Value

  • Returns the location X, Y, Z.

Example

__EDIT_ME__

See also

__EDIT_ME__