08-01-2021, 12:20 PM
(This post was last modified: 08-01-2021, 12:21 PM by josemendez.)
By changing the emitter's material every time a particle is killed, you're generating an endless loop since changing the material for the whole emitter will kill all particles and replace them with granular particles. No wonder Unity crashes .
You can't change fluid into granulars at runtime or vice-versa. They're simulated in completely different ways. You can however change the properties of these fluid particles to make them resemble solid particles. For instance, you can force their position, and/or set their smoothing radius to 1.
You can't change fluid into granulars at runtime or vice-versa. They're simulated in completely different ways. You can however change the properties of these fluid particles to make them resemble solid particles. For instance, you can force their position, and/or set their smoothing radius to 1.