Arma 3 Scripting

setPhysicsCollisionFlag

  • Global argument
  • Local effect
  • Arma 3 v2.18

Command · Markdown · JSON · original wiki page

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.

Note

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).

Syntax

object setPhysicsCollisionFlag value

Parameters:

Returns: Nothing

See also

hideObject · isObjectHidden · getPhysicsCollisionFlag · disableCollisionWith · enableCollisionWith