Перейти к содержанию

Vehicle::getDeformationAtPos

Материал из RAGE MP Wiki Archive

The only example I can find of this function in the scripts, is this:

struct _s = VEHICLE::GET_VEHICLE_DEFORMATION_AT_POS(rPtr((A_0) + 4), 1.21f, 6.15f, 0.3f);

-----------------------------------------------------------------------------------------------------------------------------------------
PC scripts:

v_5/*{3}*/ = VEHICLE::GET_VEHICLE_DEFORMATION_AT_POS(a_0._f1, 1.21, 6.15, 0.3);

Syntax

<syntaxhighlight lang="javascript">vehicle.getDeformationAtPos(offsetX, offsetY, offsetZ);</syntaxhighlight>

Required Arguments

  • offsetX: float
  • offsetY: float
  • offsetZ: float

Return value

  • Vector3

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also