rotating particles to the direction of velocity

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SigilQuiver

I’m trying to rotate the texture for my 2d particles based on the direction that they come out of the emitter, how would I do this?

example diagram