collisionDisabledWith: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 21: Line 21:
|x1= <code>_collisionInfo = [[collisionDisabledWith]] _tank;</code>
|x1= <code>_collisionInfo = [[collisionDisabledWith]] _tank;</code>


|seealso= [[disableCollisionWith]], [[enableCollisionWith]]
|seealso= [[disableCollisionWith]] [[enableCollisionWith]]
}}
}}

Revision as of 13:55, 20 January 2022

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