Component:Texture3D Force

From Resonite Wiki
Component image 
File:Texture3D ForceComponent.png
Texture 3D Force component as seen in the Scene Inspector

The Texture3DForce component makes a 3 dimensional field that affects the movement of particles in a particle system based on the colors of a 3D texture. The colors map from RGB->XYZ in that order. The XYZ mapped value is used to affect the movement of particles.

This component is part of the Photon Dust system made by Frooxius.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Texture3D Texture3D The 3D texture to act as the force volume and to sample colors from in 3D.
Mode ForceMode How to affect Particles with the force this component exerts on them.
Strength Float The strength of this component's forvce.
Scale Float3 How much to scale the 3D texture in physical space along it's axies.
Offset Float3 How much to shift the 3D texture in physical space on it's axies.
ColorBias Float The bias of colors being sampled from the 3D texture that are being mapped into XYZ values.
ColorScale Float How much to scale the color of pixels in the 3D texture, to change how the force works.

Usage

Attach to a slot, add to the list of modules in a Component:ParticleSystem, and adjust the values to make the desired effect from this component.

Examples

This allows particles to be able to take custom paths through a volume, collect in wavy shapes, or curve the path of particles going through it.

See Also