I'm trying to make a projectile travel straight up to an X-coordinate. Upon reaching the X-coordinate, I want it to start moving up on the Y-axis.
The problem is that upon reaching the X-coordinate, it stops and doesn't move up on the Y-axis.
Mathf.Approximately not working.
The problem is that upon reaching the X-coordinate, it stops and doesn't move up on the Y-axis.
Code (CSharp):