Search Results for

    Show / Hide Table of Contents

    Class CapsuleCollider3D

    RigidBody3D enables your entities to act under the control of physics. The Rigidbody can receive forces and torque to make your objects move in a realistic way. Any entity must contain a Rigidbody to be influenced by gravity, act under added forces, or interact with other objects through the physics engine.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Collider3D
    Collider3D<ICapsuleColliderShape3D>
    CapsuleCollider3D
    Implements
    IDependencyObject
    Inherited Members
    Collider3D<ICapsuleColliderShape3D>.physicColliderShape
    Collider3D<ICapsuleColliderShape3D>.InternalColliderShape
    Collider3D<ICapsuleColliderShape3D>.CreateColliderShape3D()
    Collider3D.OnShapeChanged
    Collider3D.MinSize
    Collider3D.physicBody
    Collider3D.offset
    Collider3D.Transform3D
    Collider3D.usedTransform
    Collider3D.model
    Collider3D.margin
    Collider3D.PhysicBody
    Collider3D.Margin
    Collider3D.Offset
    Collider3D.EffectiveOffset
    Collider3D.OffsetTransform
    Collider3D.PointTest(Vector3)
    Collider3D.OnAttached()
    Collider3D.Start()
    Collider3D.OnDetach()
    Collider3D.SweepTest(Vector3, float, CollisionCategory3D)
    Collider3D.SweepTestAll(Vector3, float, ICollection<HitResult3D>, CollisionCategory3D)
    Collider3D.BaseCreateColliderShape()
    Collider3D.AddShapeToRigidBody()
    Collider3D.RemoveCollider()
    Collider3D.OnScaleChanged(object, EventArgs)
    Collider3D.RaiseShapeChanged()
    Collider3D.RefreshOffsetTransform(Vector3)
    Collider3D.RefreshOffsetTransform(Vector3, Quaternion, bool)
    Collider3D.OnModelRefreshed()
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnActivated()
    Component.OnDeactivated()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Physics3D
    Assembly: Evergine.Framework.dll
    Syntax
    public class CapsuleCollider3D : Collider3D<ICapsuleColliderShape3D>, IDependencyObject

    Constructors

    CapsuleCollider3D()

    Initializes a new instance of the CapsuleCollider3D class.

    Declaration
    public CapsuleCollider3D()

    Properties

    Height

    Gets or sets the height of the capsule.

    Declaration
    public float Height { get; set; }
    Property Value
    Type Description
    float

    OrientationOffset

    Gets or sets the orientation.

    Declaration
    public Quaternion OrientationOffset { get; set; }
    Property Value
    Type Description
    Quaternion

    Radius

    Gets or sets the radius of the capsule.

    Declaration
    public float Radius { get; set; }
    Property Value
    Type Description
    float

    RotationOffset

    Gets or sets the orientation.

    Declaration
    [RenderProperty(typeof(Vector3RadianToDegreeConverter))]
    public Vector3 RotationOffset { get; set; }
    Property Value
    Type Description
    Vector3

    Methods

    CreateColliderShape3D_T()

    Creates the physics object.

    Declaration
    protected override ICapsuleColliderShape3D CreateColliderShape3D_T()
    Returns
    Type Description
    ICapsuleColliderShape3D

    A new physics object.

    Overrides
    Collider3D<ICapsuleColliderShape3D>.CreateColliderShape3D_T()

    RefreshHierarchyTransform()

    Refreshes the hierarchy transform.

    Declaration
    protected override void RefreshHierarchyTransform()
    Overrides
    Collider3D.RefreshHierarchyTransform()

    RefreshShapeDimensions()

    Refreshes the shape's dimensions.

    Declaration
    protected override void RefreshShapeDimensions()
    Overrides
    Collider3D.RefreshShapeDimensions()

    Implements

    IDependencyObject

    Extension Methods

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