class ParticleAttractor : ParticleController

book_4_sparkGenerated
code_blocksInput

Description

The ParticleAttractor class is part of the Sandbox namespace and is used to attract particles to a specified GameObject within a scene. It extends the ParticleController class, providing additional properties to control the attraction behavior.

Members

Instance Properties

Member NameSummary
TargetThe GameObject that particles are attracted to.
ForceThe strength of the attraction force applied to particles.
MaxForceThe maximum force that can be applied to particles.
RandomnessThe degree of randomness in the attraction force, adding variability to particle movement.
RadiusThe radius within which particles are affected by the attractor.