setPhysicsCollisionFlag: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.18 |gr1= Object Manipulation |descr= Sets physics collision flags. {{Feature|important|This command only disables collision (PhysX and Geometry LODs). Roadway LOD interactions are not affected. For example, if collision is disabled for a house, it is still possible to walk on its floors, but you can walk through its walls. Use the allLODs command to check if an object has a roadway LOD (normally, if an object is intende...") |
No edit summary |
||
Line 13: | Line 13: | ||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
|p1= value: [[Boolean]] - [[true]] enables collision, and [[false]] disables it. | |p1= value: [[Boolean]] - [[true]] enables collision, and [[false]] disables it. | ||
| | |r1= [[Nothing]] | ||
|seealso= [[hideObject]] [[isObjectHidden]] [[getPhysicsCollisionFlag]] [[disableCollisionWith]] [[enableCollisionWith]] | |seealso= [[hideObject]] [[isObjectHidden]] [[getPhysicsCollisionFlag]] [[disableCollisionWith]] [[enableCollisionWith]] | ||
}} | }} |
Revision as of 21:12, 14 July 2024
Description
- Description:
- Sets physics collision flags.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- object setPhysicsCollisionFlag value
- Parameters:
- value: Boolean - true enables collision, and false 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