Can someone help me with my knockback system?

Here is my problem, so when it hit in the middle it launch forward and if it hit in the corner it will launch sideways.

What I understood from the initial description and what the script I suggested does is this:

And you’d rather have that:

Could you confirm?

Ah yes i wanted to make it launch always straight forward even it hit in the corner collision

Understood.

So now it works like so:

Do note that this is one of those cases where we must use Impact Normal instead of the more common Normal. We want the normal resulting from the Sweep.

Hope this is it!

1 Like

It work, thanks for helping me

1 Like