collisionDisabledWith

From Bohemia Interactive Community
Revision as of 23:46, 15 November 2021 by Lou Montana (talk | contribs) (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.08.

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:
disableCollisionWithenableCollisionWith

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