playMaker

Author Topic: Get Axis and set velocity  (Read 1598 times)

QueenM56

  • Junior Playmaker
  • **
  • Posts: 55
Get Axis and set velocity
« on: April 28, 2018, 06:41:52 AM »
Hi all,

Hope someone can help me solve this problem...
I'm trying to set up joystick control for character to go up down left and right.
Please see the attachment:
1. I've used 2 x Get axis and 2 x set velocity 2D, the X axis works ok at the beginning.
However when I add the Y axis, the X stoped working, but Y works ok.
2. I use arrow keys to control the movement and still trying to figure out how to link the joystick. I purchased easy touch 5, and added the joystick from it. When I press the arrow keys, the thumb moved with the keys. But when I move the thumb in play mode, it did not control the character.

Please help and thanks in advance!
M

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Get Axis and set velocity
« Reply #1 on: May 09, 2018, 06:08:45 PM »
Why are you getting axes separately?

Use Get Axis Vector action, set Map To Plane to XY, store the vector and apply it to velocity.
Available for Playmaker work