09-02-2022, 08:36 AM
(This post was last modified: 09-02-2022, 08:38 AM by josemendez.)
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;