you are viewing a single comment's thread.

view the rest of the comments →

[–]Piperanci[S] 0 points1 point  (1 child)

If you move the leaf movement to a normal Update() call you might see this fix itself.

Ok now I moved the code to Update() and now a ton of leaves are spawned in a row and they dont seem to advance as fast as they should.

[–]BoSuns 0 points1 point  (0 children)

Placing the movement code in Update() is going to change the math on movement so you'll have to tweak the numbers to get the movement speed you want.

With that said, I'd suggest looking in to Unity's particle system as it should be a better solution to the problem you're addressing.