GetVehicleBoneLocation: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Returns the location of a vehicle bone/socket.}} {{FuncSyntax|GetVehicleBoneLocation(vehicle, BoneName[, BoneSpace])}} {{Func..."
 
No edit summary
Line 8: Line 8:
{{FuncParam|vehicle|The vehicle identifier.}}
{{FuncParam|vehicle|The vehicle identifier.}}
{{FuncParam|BoneName|The bone name as string.}}
{{FuncParam|BoneName|The bone name as string.}}
{{FuncParamOptional|BoneSpace|1 = WorldSpace, 2 = LocalSpace.}}
{{FuncParamOptional|BoneSpace|1 for WorldSpace, 2 for LocalSpace.}}


{{FuncReturnValue|Returns the location X, Y, Z.}}
{{FuncReturnValue|Returns the location X, Y, Z.}}

Revision as of 13:51, 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__