Difference between revisions of "collisionDisabledWith"

From Bohemia Interactive Community
Jump to navigation Jump to search
(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...")
 
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Line 16: Line 16:
  
 
|r1= [[Array]] - in format [object2, mutual], where:<br>
 
|r1= [[Array]] - in format [object2, mutual], where:<br>
* object2: [[Object]] - the object, <tt>object1</tt> has collision disabled with, or [[objNull]]
+
* object2: [[Object]] - the object, {{hl|object1}} has collision disabled with, or [[objNull]]
* mutual: [[Boolean]] - [[true]] if <tt>object2</tt> has also disabled collision with <tt>object1</tt>, [[false]] otherwise
+
* mutual: [[Boolean]] - [[true]] if {{hl|object2}} has also disabled collision with {{hl|object1}}, [[false]] otherwise
  
 
|x1= <code>_collisionInfo = [[collisionDisabledWith]] _tank;</code>
 
|x1= <code>_collisionInfo = [[collisionDisabledWith]] _tank;</code>

Revision as of 00:46, 16 November 2021

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