GpuParticlesCollisionSphere3D
A sphere-shaped 3D particle collision shape affecting GPUParticles3D nodes.
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
public GpuParticlesCollisionSphere3D();Properties1
RadiusProperty
public float Radius { get; set; }The collision sphere's radius in 3D units.
Methods2
GetRadiusfloat
public float GetRadius();floatSetRadiusvoid
public void SetRadius(float radius);| Name | Type | Default |
|---|---|---|
radius | float | — |