collisionDisabledWith

From Bohemia Interactive Community
Revision as of 16:59, 8 March 2022 by Lou Montana (talk | contribs) (Text replacement - "|branch= dev " to "")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns the object, given object has collision disabled with and whether or not returned object has also collision disabled with given object.
Groups:
Object Manipulation

Syntax

Syntax:
collisionDisabledWith object1
Parameters:
object1: Object - given object
Return Value:
Array - in format [object2, mutual], where:
  • object2: Object - the object, object1 has collision disabled with, or objNull
  • mutual: Boolean - true if object2 has also disabled collision with object1, false otherwise

Examples

Example 1:
_collisionInfo = collisionDisabledWith _tank;

Additional Information

See also:
disableCollisionWith enableCollisionWith

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note