You’re creating new
VerletParticle2D, not mutating existing 1s!
Check whether a VerletParticle2D got some setting method called set() or something like that.
Or… given you’re only interested in its y field, you may attempt to change it directly.
You’re creating new
VerletParticle2D, not mutating existing 1s!
Check whether a VerletParticle2D got some setting method called set() or something like that.
Or… given you’re only interested in its y field, you may attempt to change it directly.