Click or drag to resize
CollisionCone Constructor
Create the collision cone.

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

Parameters

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