i have a VFX graph that has an emitter shape that gets bigger as the VFX progresses, however, whenever i trigger the event, the size doesn’t reset. it remains the same. How can i reset the size of that emitter shape every time it is triggered.
Im using a Set Position (Shape: Torus Arc) and using a curve to increase the size of X and Y scale, however, triggering the event again, does not reset upon triggering the event again.
I asked chatGPT, but it told me to add nodes and blocks that don’t even exists and nobody from my friend group was able to help with this.
Since you want to modify the spawn volume (set at Initialize) over the duration of the emitter, you need to expose a variable that decides the “Loop Duration” (this will let you calculate a normalized value representing the % duration) and a “Set Spawn Time” node in your “Spawn” block.
The “Set Spawn Time” will set the “Spawn Time” Attribute, that you can then retrieve in the “InitializeParticle” block (if not, this attribute will not be set and probably always return 0).
Using your “Loop Duration” variable, you can divide SpawnTime / LoopDuration and get a normalized value (0…1) representing the duration of the emitter.
You can then use this value to feed a Curve.