GetVehicleBoneLocation: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 3: Line 3:
{{FuncDescription|Returns the location of a vehicle bone/socket.}}
{{FuncDescription|Returns the location of a vehicle bone/socket.}}


{{FuncSyntax|GetVehicleBoneLocation(vehicle, BoneName[, BoneSpace])}}
{{FuncSyntax|GetVehicleBoneLocation(vehicle, BoneName [, BoneSpace])}}


{{FuncParameters}}
{{FuncParameters}}

Revision as of 14:21, 20 October 2019

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__