Oops, i should've checked the posts earlier. Anyway, i made a projectile that spawns at the center of the projectile i initially wanted it to work the moment i wanted. Idk why it wasn't working in the first place, but now it's perfect but it's very cheaty. Will have to deal with the problems this comes with later i guess
Now i have a new little frustration, i cannot seem to be able to make it follow an object (npc or projectile) because i am not sure how to update the target position. That's for another thing. Thanks for the reply.
Edit1: i am still messing with the code, will defo send it to you once i am fully frustrated
Edit2: I got fully frustrated. I tried everything i could think of. Cannot get it to follow my npc or get the correct radius (although this is more like a trial and error. Here's my code as of now. Thank you in advance
hastebin (this is not my whole npc's code, it's just the shader code. The Shader killing method is in CheckDead since i wanna end it when the npc dies and it works as i want it to work.)