reckfellENGINE

BoxShape3D

A 3D box shape used for physics collision.

On this page
class BoxShape3DReckfellSharpInherits Shape3D

A 3D box shape used for physics collision.

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

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

Constructors1

BoxShape3DConstructor
# BoxShape3D
C#
public BoxShape3D();

Properties1

SizeProperty
# Size
C#
public Vector3 Size { get; set; }

The box's width, height and depth.

Methods2

GetSizeVector3
# GetSize
C#
public Vector3 GetSize();
Returns Vector3
SetSizevoid
# SetSize
C#
public void SetSize(Vector3 size);
Parameters
NameTypeDefault
sizeVector3—
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.