Entity::detach

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

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