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