[Noob question] Moving a pawn relative to the world space
Hi, I'm really struggling to get this to work. Would really appreciate a nudge in the right direction.
I have an actor, which can move up/down and left/right. When this actor is rotated 90deg clockwise, up is becoming left.
I can't get it to stay moving forward, based on it's current rotation (amazing diagram below).
My current implimentation is as follows:
Any help is appreciated. I'm new to ue4 c++ and really having a lot of trouble working this one out.
asked Nov 09 '17 at 07:10 AM in C++ Programming
i would rotate "DesiredMovementDirection "
that should work ( you might have to swap your X and Y though )
answered Nov 09 '17 at 12:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here