Hello there! I am relatively new to lite c and currently i'm doing an assignment that requires me to do a few different particle effects.

So i thought of doing a particle effect that works like a shooting star, but halfway through it's flight, it would do a 360 degrees circle flip and continue it way in the same direction.

I was wondering let's say i set a certain particle to a relatively long lifespan let's say 10 seconds. and it's event i call upon another function which would check with an "if" condition that should the lifespan falls to 5 seconds and i would change the particle's velocity x, y and z with a certain circlular motion formula.

x = radius * cos(angle)
y = radius * sin(angle)

Is it possible at all? Because i tried it and it doesn't work. I hope someone would help me with this. Thank you!