• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • ParticleSystemForceField

    Inherits from: Behaviour

    The Unity class ParticleSystemForceField gives you the power of controlling the behavior of your particles based on their interactions with force fields in the environment. Specially made for use with the Class.ParticleSystem class, it offers a broader degree of freedom over the movement of particles within a scene.

    These force fields are essentially areas designated within the Particle System that exert specific forces on the particles, guiding their motion and behavior. This could be used to simulate natural forces like gravity, magnetic fields, wind or even custom forces that serve your game's specific needs.

    The properties of these force fields, like their range, length and the gravity focus, can be tweaked to design various appealing and realistic particle effects. You'll find it an indispensable tool in building vibrant and interactive environments.

    Refer to Unity's ParticleSystemForceField Documentation to further understand its potentials and applications.

    Properties

    The 'startRange' property signifies the radius from the center of the ParticleSystemForceField where the force begins to apply. This helps in defining the initial region of influence of the force field. More about this property can be found at Unity's ParticleSystemForceField.startRange Documentation.

    endRange

    number

    The 'endRange' property refers to the outer radius from the center where the force ceases to apply, defining the ultimate scope of the force field. For more details on this property, refer to Unity's ParticleSystemForceField.endRange Documentation.

    length

    number

    The 'length' property sets the extent of the ParticleSystemForceField along its local Z-axis. It can be used to configure a depth-wise influence of the force, providing a 3D move space for the particles. Learn more about it at Unity's ParticleSystemForceField.length Documentation.

    The 'gravityFocus' property influences the focus point for gravitational forces. That's to say, it adjusts how much the particles rush to reach an imaginary focus point. More details can be found in Unity's ParticleSystemForceField.gravityFocus Documentation.

    The 'rotationRandomness' property introduces variability to the direction of the particles when in contact with the force field. This can be handy for generating organic and less predictable visual effects. More information can be found at Unity's ParticleSystemForceField.rotationRandomness Documentation.

    With 'multiplyDragByParticleSize' property set to true, the particles' drag will scale in relation to their size. Enabling this may result in larger particles showing slower movement than smaller ones. For more information, visit Unity's ParticleSystemForceField.multiplyDragByParticleSize Documentation.

    The 'multiplyDragByParticleVelocity' property implies that the faster a particle moves, the more drag will be applied to it when this property is set to true. This property adds a sense of fluid dynamics to the particle system. Check out Unity's ParticleSystemForceField.multiplyDragByParticleVelocity Documentation.

    The 'vectorField' property associates a Texture3D to the ParticleSystemForceField, providing a 3D grid of vectors that can facilitate complex motion. Visit Unity's ParticleSystemForceField.vectorField Documentation for more details.

    Updated about 1 month ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.