Box Collider
A Box shaped collider.
BoxCollider3D component
To use a Box Collider in Evergine, you only need to add a BoxCollider3D
component to your entity:
Properties
Property | Default | Description |
---|---|---|
Size | 1,1,1 | This property define the size of the Box collider. The Size value can be used in two ways:
|
Offset | 0,0,0 | Offset the collider respect the owner entity. The Offset value can be used in two ways:
|
RotationOffset | 0,0,0 | Apply to the Collider a rotation offset respect the owner entity. |
Margin | 0.04 | Physic Engine uses a small collision margin for collision shapes, to improve performance and reliability of the collision detection. |