https://samarthdhroov.medium.com/using-a-cosine-wave-in-unity-for-enemy-projectiles-movement-45e1f3d1959f