09-02-2022, 10:52 AM
(09-02-2022, 08:36 AM)josemendez Wrote: Particles are spaced differently depending on rope resolution, so 100 particles != 100 meters. Simply divide your max distance by the rope's inter-particle distance. That will give you the pool size. like this:
Code:int poolSize = Mathf.CeilToInt(maxDistance / rope.ropeBlueprint.interParticleDistance) + 1;
But can the number of pooled particles be changed in runtime ?