Entity::setCollision: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
Line 13: Line 13:
</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 17:54, 1 May 2024

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