joystick controls
wonder if someone could take a look at this
its an adaption to your joystick moveshoot template by @jamie_c
I've adapted it to work with left stick on a gamepad
it works not to bad , the the problem is
which ever the man walks , and when the stick goes back to middle
the man always turns to the right
instead of facing in the direction he was walking
i was hoping you could help \
\thanks
Best Answer
-
jamie_c ImagineLabs.rocks Posts: 5,772
I don't a joystick at my office to check this out. But what I would think about doing is recording the players direction of movement in an Attribute and then when the joystick returns to the center position set up a Rule that will check the players previous direction. By checking the attribute and then use a Change Image Behavior to force the image to 'face' in the correct, previous direction.
Hope that helps.
Answers
i think i know what you mean ... any chance of a little template ??
thanks