Search Results for

    Show / Hide Table of Contents

    Class BulletCollider3D<T>

    The BulletCollider3D is a base class for all 3D colliders implemented by Bullet.

    Inheritance
    object
    BulletCollider3D
    BulletCollider3D<T>
    BulletBoxCollider3D
    BulletCapsuleCollider3D
    BulletCompoundCollider3D
    BulletConeCollider3D
    BulletConvexHullCollider3D
    BulletCylinderCollider3D
    BulletEmptyCollider3D
    BulletMeshCollider3D
    BulletSphereCollider3D
    Implements
    IColliderShape3D
    Inherited Members
    BulletCollider3D.offset
    BulletCollider3D.OffsetTransform
    BulletCollider3D.ColliderComponent
    BulletCollider3D.Margin
    BulletCollider3D.InternalRefreshShapeDimension()
    BulletCollider3D.FireOnShapeInstanceChanged()
    BulletCollider3D.ColliderOffsetTransformChanged(object, EventArgs)
    BulletCollider3D.RefreshMargin()
    Namespace: Evergine.Bullet
    Assembly: Evergine.Bullet.dll
    Syntax
    public abstract class BulletCollider3D<T> : BulletCollider3D, IColliderShape3D where T : CollisionShape
    Type Parameters
    Name Description
    T

    The Bullet collision shape type.

    Properties

    InternalCollider

    Gets the internal collider.

    Declaration
    public override object InternalCollider { get; }
    Property Value
    Type Description
    object
    Overrides
    BulletCollider3D.InternalCollider

    LocalScaling

    Gets or setsthe local scaling.

    Declaration
    public override Vector3 LocalScaling { get; set; }
    Property Value
    Type Description
    Vector3
    Overrides
    BulletCollider3D.LocalScaling

    Methods

    Dispose()

    Dispose this collider 3D instance.

    Declaration
    public override void Dispose()
    Overrides
    BulletCollider3D.Dispose()

    TestPointByInsideMethod(ref Vector3, float)

    Test if a point is inside of that shape.

    Declaration
    protected bool TestPointByInsideMethod(ref Vector3 point, float tolerance)
    Parameters
    Type Name Description
    Vector3 point

    The point in world coordinates.

    float tolerance

    The tolerance factor.

    Returns
    Type Description
    bool

    True if this point is inside the shape.

    TestPointByRayCast(ref Vector3, float)

    Test if a point is inside of that shape.

    Declaration
    protected bool TestPointByRayCast(ref Vector3 point, float tolerance)
    Parameters
    Type Name Description
    Vector3 point

    The point in world coordinates.

    float tolerance

    The tolerance factor.

    Returns
    Type Description
    bool

    True if this point is inside the shape.

    Implements

    IColliderShape3D

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX