Class ConeCollider3D
RigidBody3D enable 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 physics engine.
Inheritance
ConeCollider3D
Implements
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public class ConeCollider3D : Collider3D<IConeColliderShape3D>, IDependencyObject
Constructors
ConeCollider3D()
Initializes a new instance of the ConeCollider3D class.
Declaration
public ConeCollider3D()
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 physic object.
Declaration
protected override IConeColliderShape3D CreateColliderShape3D_T()
Returns
Type | Description |
---|---|
IConeColliderShape3D | A new physics object. |
Overrides
RefreshHierarchyTransform()
Refresh the hierarchy transform.
Declaration
protected override void RefreshHierarchyTransform()
Overrides
RefreshShapeDimensions()
Refresh the shape dimensions.
Declaration
protected override void RefreshShapeDimensions()