Click or drag to resize
CapsuleInfo Constructor
Create the info to create a capsule body.

Namespace:  GeonBit.ECS.Components.Physics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public CapsuleInfo(
	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 direction axis (Y = standing up).
See Also