Capsule Collider
A Capsule shaped collider.
A capsule is a special shape defined by two properties:
- Radius: The radius of the collider's local width.
- Height: The total height of the collider.
SphereCollider3D component
To use a Sphere Collider in Evergine, you only need to add a SphereCollider3D
component to your entity:
Properties
Property | Default | Description |
---|---|---|
Radius | 0.5 | This property define the radius of the Capsule collider. The Radius value can be used in two ways:
|
Height | 1 | This property define the total height of the Capsule collider. The Height 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:
|
Margin | 0.04 | Physic Engine uses a small collision margin for collision shapes, to improve performance and reliability of the collision detection. |