Entity::hasCollidedWithAnything

From RAGE Multiplayer Wiki
Revision as of 18:04, 1 May 2024 by Shr0x (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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