Severe knockback when hitting a wall

I have a problem when I use a roll and hit a wall I get thrown back a lot, who knows how to fix it?

You could Raycast from the player to where they want to dive and if it’s too close to the wall u could simply play the animation without putting in much force. That should prevent the clipping.

I need fix for roll (dive working normal)

How are u doing the roll and whats different to the dive?

Edit: my guess is its clipping because of the roll animation but send ur script

Well, the roll is different in that it is done only on the ground and it has a different sound and the dive is done in the air and it has a different sound (if you heard the same sound of impact, it is my Bonked function when the player hits the wall and it plays animation different when dive and when roll).

I don’t think I need any more help. I think I’ve fixed the bug.

1 Like