Class CapsuleColliderShape
public class CapsuleColliderShape : ColliderShape, IDisposable
  - Inheritance
 - 
      objectCapsuleColliderShape
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
CapsuleColliderShape(bool, float, float, ShapeOrientation)
Initializes a new instance of the CapsuleColliderShape class.
public CapsuleColliderShape(bool is2D, float radius, float length, ShapeOrientation orientation)
  Parameters
is2Dboolif set to
true[is2 d].radiusfloatThe radius.
lengthfloatThe length of the capsule.
orientationShapeOrientationUp axis.
Fields
Length
public readonly float Length
  Field Value
Orientation
public readonly ShapeOrientation Orientation
  Field Value
Radius
public readonly float Radius
  Field Value
Properties
Scaling
Gets or sets the scaling. Make sure that you manually created and assigned an exclusive ColliderShape to the Collider otherwise since the engine shares shapes among many Colliders, all the colliders will be scaled. Please note that this scaling has no relation to the TransformComponent scaling.
public override Vector3 Scaling { get; set; }
  Property Value
- Vector3
 The scaling.
Methods
CreateDebugPrimitive(GraphicsDevice)
public override MeshDraw CreateDebugPrimitive(GraphicsDevice device)
  Parameters
deviceGraphicsDevice