Search Results for

    Show / Hide Table of Contents

    Cone Collider

    Cone Collider

    A Cone shaped collider.

    ConeCollider3D component

    To use a Sphere Collider in Evergine, you only need to add a ConeCollider3D component to your entity:

    ConeCollider3D

    Properties

    Property Default Description
    Radius 0.5 This property define the radius of the Cone collider. The Radius value can be used in two ways:
    • If the Entity has a mesh (with MeshComponent for example), the Radius value is relative to the mesh extents.
    • If the entity hasn't any meshes, the Radius value is used as scene units.
    Height 1 This property define the total height of the Cone collider. The Height value can be used in two ways:
    • If the Entity has a mesh (with MeshComponent for example), the Height value is relative to the mesh height.
    • If the entity hasn't any meshes, the Radius value is used as scene units.
    Offset 0,0,0 Offset the collider respect the owner entity. The Offset value can be used in two ways:
    • If the Entity has a mesh (with MeshComponent for example), the Offset value is relative to the mesh extents.
    • If the entity hasn't any meshes, the Offset value is used as scene units.
    Margin 0.04 Physic Engine uses a small collision margin for collision shapes, to improve performance and reliability of the collision detection.
    In This Article
    Back to top
    Generated by DocFX