collisionDisabledWith

From Bohemia Interactive Community
Revision as of 14:30, 13 November 2021 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.08 |branch= dev |arg= global |gr1= Object Manipulation |descr= Returns the object, given object has collision disabled with an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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