18-03-2018, 04:09 PM
(This post was last modified: 18-03-2018, 04:32 PM by usernameHed.)
Ok ! mmm I have one other little trouble:
I have set the pooledParticle to 50... but the moment I change the Length... like that:
cursor.ChangeLength(rope.RestLength + hookExtendRetractSpeed * Time.deltaTime);
then the variable pooledParticle drop to 9, 8, ... 0 (and not 49, 48, ... to 0...), so I have only 10 pooled Particle to add... i don't know why i can't change it.
And one other thing... when i have my rope setup in inspector, if I want to grow the rope, and add more particle inside, how do I do ? Im' stuck with my 10 initial particle, and I want to grow it up, witout deleting and recreating the rope...
Thanks you again
I have set the pooledParticle to 50... but the moment I change the Length... like that:
cursor.ChangeLength(rope.RestLength + hookExtendRetractSpeed * Time.deltaTime);
then the variable pooledParticle drop to 9, 8, ... 0 (and not 49, 48, ... to 0...), so I have only 10 pooled Particle to add... i don't know why i can't change it.
And one other thing... when i have my rope setup in inspector, if I want to grow the rope, and add more particle inside, how do I do ? Im' stuck with my 10 initial particle, and I want to grow it up, witout deleting and recreating the rope...
Thanks you again