setPhysicsCollisionFlag: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Add branch)
 
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.18
|version1= 2.18
|branch= dev


|arg= global
|arg= global

Latest revision as of 20:22, 22 July 2024

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.18.

Description

Description:
Sets physics collision flags for PhysX and geometry LODs. Roadway LOD interactions remain.
For example, if collision is disabled for a house, it is now possible to walk through its walls but still possible to walk on its floors.
Use the allLODs command to check if an object has a roadway LOD (normally, if an object is intended to be walkable, it does have a roadway LOD).
Groups:
Object Manipulation

Syntax

Syntax:
object setPhysicsCollisionFlag value
Parameters:
object: Object
value: Boolean - true to enables collision, false to disables it
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
hideObject isObjectHidden getPhysicsCollisionFlag 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