Click or drag to resize
CollisionCylinder Constructor
Create the collision cylinder.

Namespace:  GeonBit.Core.Physics.CollisionShapes
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public CollisionCylinder(
	Vector3 halfExtent,
	CylinderDirectionAxis axis = CylinderDirectionAxis.Y
)

Parameters

halfExtent
Type: Vector3
Half extent on X, Y and Z of the cylinder.
axis (Optional)
Type: GeonBit.Core.Physics.CollisionShapesCylinderDirectionAxis
Cylinder axis direction.
See Also