How do I prevent character animation from clipping through walls

Hello everyone, I’m working on making a game in UE 5.3 and I’m having issues preventing my character from clipping through walls when I use it’s dashing ability. Does anyone have any input on how I can fix this issue? I’m using Blink and Dash VFX from the Unreal Marketplace. I tried what they suggested by adding line trace to prevent my character from clipping through but the problem arise where the character won’t initiate the animation if your to close to another mesh. I added a video link of the character clipping and attach a pics of the blueprint with and without the line trace


1 Like

Look into root motion first of all.

If that’s not enough use some predicting animation techniques.

At the time you trigger the motion you know both direction and the character.
Do a sweep with the capsule to ensure you arent colliding into a wall.
If you do, play some other montage instead.

1 Like