Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: QueenM56 on April 28, 2018, 06:41:52 AM

Title: Get Axis and set velocity
Post by: QueenM56 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
Title: Re: Get Axis and set velocity
Post by: ... 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.