GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Physics.CollisionShapes
CollisionCylinder Class
CollisionCylinder Constructor
CollisionCylinder Methods
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#
Copy
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.CollisionShapes
CylinderDirectionAxis
Cylinder axis direction.
See Also
Reference
CollisionCylinder Class
GeonBit.Core.Physics.CollisionShapes Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com