GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.ECS.Components.Physics
CylinderInfo Class
CylinderInfo Constructor
CylinderInfo Constructor (Vector3, CylinderDirectionAxis)
CylinderInfo Constructor (Single, Single, CylinderDirectionAxis)
CylinderInfo Constructor (Vector3, CylinderDirectionAxis)
Create the info to create a cylinder body.
Namespace:
GeonBit.ECS.Components.Physics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
CylinderInfo
(
Vector3
halfExtent
,
CylinderDirectionAxis
axis
=
CylinderDirectionAxis
.Y )
Parameters
halfExtent
Type:
Vector3
Cylinder half extent.
axis
(Optional)
Type:
GeonBit.Core.Physics.CollisionShapes
CylinderDirectionAxis
Cylinder direction axis (Y = standing up).
See Also
Reference
CylinderInfo Class
CylinderInfo Overload
GeonBit.ECS.Components.Physics Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com