setPhysicsCollisionFlag: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") |
mNo edit summary |
||
Line 7: | Line 7: | ||
|eff= local | |eff= local | ||
|gr1= | |gr1= PhysX | ||
|descr= Sets physics collision flags for PhysX and geometry LODs. Roadway LOD interactions remain.<br> | |descr= Sets physics collision flags for PhysX and geometry LODs. Roadway LOD interactions remain.<br> |
Latest revision as of 12:59, 26 June 2025
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:
- PhysX
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