reckfellENGINE

GpuParticlesCollisionBox3D

A box-shaped 3D particle collision shape affecting GPUParticles3D nodes.

On this page
class GpuParticlesCollisionBox3DReckfellSharpInherits GpuParticlesCollision3D

A box-shaped 3D particle collision shape affecting GpuParticles3D nodes.

A box-shaped 3D particle collision shape affecting GpuParticles3D nodes. Particle collision shapes work in real-time and can be moved, rotated and scaled during gameplay. Unlike attractors, non-uniform scaling of collision shapes is not supported. Note: ParticleProcessMaterial.CollisionMode must be ParticleProcessMaterial.CollisionModeEnum.Rigid or ParticleProcessMaterial.CollisionModeEnum.HideOnContact on the GpuParticles3D's process material for collision to work. Note: Particle collision only affects GpuParticles3D, not CpuParticles3D.

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

Constructors1

GpuParticlesCollisionBox3DConstructor
# GpuParticlesCollisionBox3D
C#
public GpuParticlesCollisionBox3D();

Properties1

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

Full local box dimensions, not half extents. At unit transform scale, Size (4, 0.2, 4) specifies those obstacle dimensions. GPU-particle collision geometry, not a visible mesh or gameplay CollisionShape3D.

Methods2

GetSizeVector3
# GetSize
C#
public Vector3 GetSize();

Returns Size. Full local box dimensions, not half extents. At unit transform scale, Size (4, 0.2, 4) specifies those obstacle dimensions. GPU-particle collision geometry, not a visible mesh or gameplay CollisionShape3D.

Returns Vector3

Current Size value; account for the described units and scope.

SetSizevoid
# SetSize
C#
public void SetSize(Vector3 size);

Sets Size. Full local box dimensions, not half extents. At unit transform scale, Size (4, 0.2, 4) specifies those obstacle dimensions. GPU-particle collision geometry, not a visible mesh or gameplay CollisionShape3D.

Parameters
NameTypeDefault
sizeVector3—
size

Full local box dimensions, not half extents. At unit transform scale, Size (4, 0.2, 4) specifies those obstacle dimensions. GPU-particle collision geometry, not a visible mesh or gameplay CollisionShape3D.

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.