Class Collider3D<T>
RigidBody3D enables your entities to act under the control of physics. The Rigidbody can receive forces and torque to make your objects move realistically. 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
Collider3D<T>
Implements
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public abstract class Collider3D<T> : Collider3D, IDependencyObject where T : IColliderShape3D
Type Parameters
Name | Description |
---|---|
T | The collider type. |
Constructors
Collider3D()
Initializes a new instance of the Collider3D<T> class.
Declaration
public Collider3D()
Fields
physicColliderShape
The physics collider shape.
Declaration
protected T physicColliderShape
Field Value
Type | Description |
---|---|
T |
Properties
InternalColliderShape
Gets or sets the collider shape.
Declaration
public override IColliderShape3D InternalColliderShape { get; protected set; }
Property Value
Type | Description |
---|---|
IColliderShape3D |
Overrides
Methods
CreateColliderShape3D()
Creates the physics object.
Declaration
protected override IColliderShape3D CreateColliderShape3D()
Returns
Type | Description |
---|---|
IColliderShape3D | A new physics object. |
Overrides
CreateColliderShape3D_T()
Gets the specific type of collider shape.
Declaration
protected abstract T CreateColliderShape3D_T()
Returns
Type | Description |
---|---|
T | The collider shape. |