Entity::setCollision

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

Syntax

entity.setCollision(toggle, keepPhysics);

Required Arguments

  • toggle: Boolean
    • Setting 'toggle' to false will disable all collisions and you will fall through the world.
  • keepPhysics: Boolean

Return value

  • Undefined

Example

// todo

See also