I am making a 3D platformer and I would like to ask
how can I implement a jump attack like Mario?
In Mario a enemy will get damage if Mario jump on top of it.
I am trying to use raycast and put it on my character foot, but since the raycast is only a straight line, it is not perfect.
I am using KinematicBody for both the character and enemy
So any ideas?