reckfellENGINE

CylinderShape3D

A 3D cylinder shape used for physics collision.

On this page
class CylinderShape3DReckfellSharpInherits Shape3D

A 3D cylinder shape used for physics collision.

A 3D cylinder shape, intended for use in physics. Usually used to provide a shape for a CollisionShape3D. Note: There are several known bugs with cylinder collision shapes. Using CapsuleShape3D or BoxShape3D instead is recommended. Performance: CylinderShape3D is fast to check collisions against, but it is slower than CapsuleShape3D, BoxShape3D, and SphereShape3D.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

CylinderShape3DConstructor
# CylinderShape3D
C#
public CylinderShape3D();

Properties2

HeightProperty
# Height
C#
public float Height { get; set; }

The cylinder's height.

RadiusProperty
# Radius
C#
public float Radius { get; set; }

The cylinder's radius.

Methods4

GetHeightfloat
# GetHeight
C#
public float GetHeight();
Returns float
GetRadiusfloat
# GetRadius
C#
public float GetRadius();
Returns float
SetHeightvoid
# SetHeight
C#
public void SetHeight(float height);
Parameters
NameTypeDefault
heightfloat—
SetRadiusvoid
# SetRadius
C#
public void SetRadius(float radius);
Parameters
NameTypeDefault
radiusfloat—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.