Hello, I’m a Unity’s VFX Graph begginer and I’m stuck on a problem with moving particles.
I tried to follow some tutorials on YouTube and Unity’s Documentation about making particles following a line but it just does not work for me, my particles are stuck on starting point wherever the second, third or fourth is or sometimes just go straight-forward on a line I can’t edit.
I’m trying to use the “Sample Bezier” block with a custom property named “Progress”, as the tutorial I saw told me.
I’m using Unity’s HDRP (High-Definition Render Pipeline).
Can someone out there help me ?
On the screenshot, I selected the “D” point of the curve, and we can see the particles obviously don’t go there.
It depends what you need. Your graph sets some random velocity completely independent of curve, so this is probably why they move. You set position from curve every frame, but it will be always the same: 0. The reason is you divide spawn index by 100, but it’s uint, so the result will be also uint. Click the gear with arrow in corner and change it to float.
Anyway, if you want to move particles over time you can do this: