Entity::hasCollidedWithAnything: Difference between revisions

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

Latest revision as of 18:04, 1 May 2024

Called on tick.
Tested with vehicles, returns true whenever the vehicle is touching any entity.

Note: for vehicles, the wheels can touch the ground and it will still return false, but if the body of the vehicle touches the ground, it will return true.

Syntax

entity.hasCollidedWithAnything();

Required Arguments

Return value

  • Boolean

Example

// todo

See also