Entity::setCollision: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 4: Line 4:
=== Required Arguments ===
=== Required Arguments ===
*'''toggle:''' Boolean
*'''toggle:''' Boolean
** Setting 'toggle' to false will disable all collisions and you will fall through the world.
*'''keepPhysics:''' Boolean
*'''keepPhysics:''' Boolean
* Setting 'toggle' to false will disable all collisions and you will fall through the world.
===Return value===
===Return value===
*'''Undefined'''
*'''Undefined'''

Revision as of 11:46, 25 February 2018

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