Entity::detach

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

p1 and p2 have no effect
maybe a quick disassembly will tell us what they do

if p2 is set to true, the both entities won't collide with the other until the distance between them is above 4 meters.


p1?

Syntax

entity.detach(p1, collision);

Required Arguments

  • p1: Boolean
  • collision: Boolean

Return value

  • Undefined

Example

// todo

See also