reckfellENGINE

GpuParticlesCollisionSphere3D

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

On this page
class GpuParticlesCollisionSphere3DReckfellSharpInherits GpuParticlesCollision3D

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

A sphere-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

GpuParticlesCollisionSphere3DConstructor
# GpuParticlesCollisionSphere3D
C#
public GpuParticlesCollisionSphere3D();

Properties1

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

The collision sphere's radius in 3D units.

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.