Hi! so im working on a souls style project right now, and i am having an issue with my dodge roll mechanic. it works fine when the player is not locked onto an enemy, but any time the player locks onto an enemy and attempts to roll, they will only go towards the locked on enemy, rather than rolling in a direction based on their input.
I’ve been stuck on this for days and cannot for the life of me figure out how to fix it, I’ve used multiple approaches but I’m still stuck on it.
Hey there @Bubba_Hotap! Welcome to the community! So you’re going to want to get the desired rotation and pass that to the direction you’re actually rolling. Here’s a solid tutorial on how to do that. There’s also an extra tutorial on how to do it a different way.
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.