20-04-2018, 04:07 PM
I solved it - the issue was that i was pushing the positions of all the particles when i had only generated positions for the ones i wanted to be affected. I figured that positions which weren't changed wouldn't get their positions overwritten by the obsolete data, but in hindsight, it was pretty obvious. Changed it to using the low-level solver functions and now it works like a charm.