setPhysicsCollisionFlag: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add branch) |
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.18 | |version1= 2.18 | ||
|arg= global | |arg= global | ||
Line 19: | Line 17: | ||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
|p2= value: [[Boolean]] - [[true]] to | |p2= value: [[Boolean]] - [[true]] to enable collision, [[false]] to disable it | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Latest revision as of 16:08, 8 October 2024
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. - Groups:
- Object Manipulation
Syntax
- Syntax:
- object setPhysicsCollisionFlag value
- Parameters:
- object: Object
- value: Boolean - true to enable collision, false to disable 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