Skip to main content

Entity::setNoCollision

Calling this function, regardless of the 'unknown' value, disabled collision between two entities.

Importance of entity1 and 2 order is unclear.

Syntax

``` entity.setNoCollision(entity2, enableThisFrame); ```

Required Arguments

  • entity2: Entity handle
  • enableThisFrame: Boolean
    • false = disabled forever, true = disabled only this frame

Return value

  • Undefined

Example

See also