After days of looking and experimenting on different blueprints I can not figure it out for the life of me.
I have a third person layout but using a top view gameplay and I want to only go left right up and down. So question is how would I do that and disable diagonal movement?
Also instead of the mobile joysticks, how could I put a dpad as a controller?
Thanks for all the answers and help!!
How about clamping the values at which the player can move? So, 0, 90, 180, 270 or whatever it is, you’ll have to play around with it. Hopefully floating point errors don’t happen
- Another way: Check that ForwardInput>RightInput (if moving forward), and swapped for Right Vector (if using vector movement).
How about posting screenshots of your current control scheme, so we can help you out better.
I’ll try that when I get home. Currently at work right now but hopefully that’ll work. And my control scheme is pretty simple now. After biting a handful of fingernails I started from scratch and went to a simple inputaxisfoward connected to a add movement layout. And same for input axis move right.
Let me know if you have any issues, post screenshots of your current setup if so.
If it works as intended, please upvote and mark my answer “answered” so that we can close this out appropriately. Good luck!