Hello guys. I’m new in UE5. I am using blueprint from free dash mechanic asset from may. My question is- how to make the dash shorter, If there is collision between character and walls for example (Things out of left box are mine, what I’m doing bad?)? That’s my first post here- I’m so exicited to learn something!
Hey there
I haven’t checked that Dash, but if all you want is to cut the dash distance down when the path is blocked I’d say all you have to do is casting a line trace towards the dash direction and On Hit change the Dash Distance float in Blink Dash FX to the trace length before hit minus your characters capsule radius.
Hey, thank you! Capsule with collision on my character was the right answer. Now the problem is- niagara animation is still working. Now I’m trying to figure out how to cancel animation on collision. Maybe you can help with this?
You can just disable the VFX if you have access to the Niagara variable, or change its properties to make the effect fit your dash distance. Otherwise I don’t know what you could do without knowing the Dash you’re using.