reckfellENGINE

SphereShape3D

A 3D sphere shape used for physics collision.

On this page
class SphereShape3DReckfellSharpInherits Shape3D

A 3D sphere shape used for physics collision.

A 3D sphere shape, intended for use in physics. Usually used to provide a shape for a CollisionShape3D. Performance: SphereShape3D is fast to check collisions against. It is faster than BoxShape3D, CapsuleShape3D, and CylinderShape3D.

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

Constructors1

SphereShape3DConstructor
# SphereShape3D
C#
public SphereShape3D();

Properties1

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

The sphere's radius. The shape's diameter is double the radius.

Methods2

GetRadiusfloat
# GetRadius
C#
public float GetRadius();
Returns float
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.