Vehicle::getDeformationAtPos: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 13: Line 13:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 11:35, 9 May 2024

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

vehicle.getDeformationAtPos(offsetX, offsetY, offsetZ);

Required Arguments

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

Return value

  • Vector3

Example

// todo

See also