How to constrain my player character to only move at 45 degree angles?
HI, I'm trying to create a way of moving only at 45 degree going forward. my issue right now is that I've done so but when I press the down key it goes in reverse and I'd like to convert the reverse movement at the 45 degree angle to a forward movement down at a 45 degree angle. any help with this would be very much appreciated! thanks, Patrick
asked Dec 22 '17 at 08:46 PM in Blueprint Scripting
the Right vector points Right while the Forward points up for your example
On W you add both you get a 45° pointing up+right between them and move in that direction. On S you add the negated right vector + to the forward and get a vector pointing up+left, but since you axis input is -1 you move the other direction down left
answered Dec 23 '17 at 11:24 PM
Hey there, a video would be helpful to see what you mean.
answered Dec 22 '17 at 10:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here