08-01-2021, 12:26 PM
(This post was last modified: 08-01-2021, 12:26 PM by josemendez.)
(08-01-2021, 12:17 PM)meryemekinci Wrote: Thank you for your detailed answer, Jose. I really appreciate it. I will try and check the results right away. I just have a simple question related to the particles. Is it possible to change pooled particle count in run time? The reason I set it high, I will need the rope to be longer in later chapters of the game.
Thank you in advance. Have a nice day!
Hi,
The whole reason behind pooling particles is to avoid having to allocate memory at runtime and avoid GC spikes. You're supposed to pre-allocate as many particles as you will possibly need. Note that pooled particles have no impact on the simulation.
When I said the rope had too many particles, I was referring to particles per length unit. You would get better results with slightly lower rope resolution.