Entity::detach: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 12: Line 12:
</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 18:04, 1 May 2024

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