Click or drag to resize
CollisionCapsule Constructor
Create the collision capsule.

Namespace:  GeonBit.Core.Physics.CollisionShapes
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public CollisionCapsule(
	float radius = 1f,
	float height = 1f,
	CapsuleDirectionAxis axis = CapsuleDirectionAxis.Y
)

Parameters

radius (Optional)
Type: SystemSingle
Capsule radius.
height (Optional)
Type: SystemSingle
Capsule height.
axis (Optional)
Type: GeonBit.Core.Physics.CollisionShapesCapsuleDirectionAxis
Capsule axis direction.
See Also