IN THIS ARTICLE
White Box Collider Component
You can enable collision on white box meshes in Open 3D Engine (O3DE) by adding the White Box Collider component to an entity that has a White Box component mesh. The White Box Collider component supports collision layers and physics materials. It can be used with static and kinematic white box meshes. The White Box Collider component uses the white box mesh as the collision surface. Unlike the PhysX Collider component, there is no need to specify a collision shape or provide a PhysX mesh asset.
In the image above, the White Box Collider component is added to an entity with a static White Box component. You can test for changes in collision immediately after editing the white box mesh.
|Collision Layer||The collision layer that’s assigned to the collider. For more information, see Collision Layers .|
|Collides With||The collision group containing the layers that this collider collides with. For more information, see Collision Groups .|
|Physics Materials - Library||Set the physics material library for this collider.|
|Physics Materials - Entire object||Choose a material from the physics material library for this collider. The material is applied to the entire white box entity.|
|Tag||Set a tag for this collider. Tags can be used to quickly identify components in script or code.||Crc32||None|
|Rest offset||Bodies will come to rest separated by the sum of their Rest offset values. Must be less than Contact offset.||-Infinity to 50.0|
|Contact offset||Bodies will begin to generate contacts when within the sum of their Contact offset values. Must be greater than Rest offset||0.0 - 50.0|
|Body Type||Select ||Static, Kinematic|
Copyright © 2022 Open 3D Engine Contributors
Documentation Distributed under CC BY 4.0.
The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.