I think it would be best if you make use of the Explosion class. If not, you will have a hard time scripting it from scratch.
Anyway, I’ll just try to use my own custom knockback first, If it doesn’t work as i want, I’ll use Explosion class instead.
It shouldn’t be the hardest thing to make from scratch as theoretically you just need to apply velocity in the correct direction, but @GalaxySmediaCaster if there is something that you are confused about with the Explosion class we might be able to clear that up for you.
What I mean is its completely unnessessary. Furthermore, calculating the correct direction is the system of the explosion and that’s not the easiest thing in the world. If you you’re missing even the slightest calculation, the velocity from the explosion will feel off.
My problem is solved, Thanks
but i used this topic to study instead
Also thanks other for reply!