I have already done it in an old project. I tried to open that project and send you my graphs but that was broken and won’t open.
now I can tell you what I did step by step but before that you must learn basics of shooting a projectile so take a look at this tutorial video and tell me when you have learnt it