Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Renoki on December 09, 2015, 09:28:49 AM

Title: 3 movement inputs not working
Post by: Renoki on December 09, 2015, 09:28:49 AM
Hey everyone! Having a weird issue with my 3rd person controller, I'm using a slightly modified version of the one made in this tutorial:
I know it's a bit old but still works pretty well for what it does!
My issue is that I have 3 Horizontal/Vertical inputs for Keyboard, Dpad and Stick which all do the same thing, but adding 3 movement inputs stops my controller from moving at all. It moves fine with just one, however.

(http://puu.sh/lP8K3/2ef237eb6e.png)

my input names are:
Vertical1/Horizontal1 for Keyboard WASD/Arrow Keys
Vertical2/Horizontal2 for Gamepad Dpad
Vertical3/Horizontal3 for Gamepad Left Stick

I was wondering what I can do to fix this? I need all 3 inputs.
Title: Re: 3 movement inputs not working
Post by: DennisJensen on December 09, 2015, 10:02:42 AM
I kinda have the same problem, I use axis and want to press a button while I move my character around, in some cases the buttons doesn't work.

Link to my thread: http://hutonggames.com/playmakerforum/index.php?topic=11791.0
Title: Re: 3 movement inputs not working
Post by: PlaymakerNOOB on December 10, 2015, 09:14:34 PM
Just a guess, but if you have 3 separate inputs and they are all using the same Vector3 variable, you will have a problem.

Because for example DPAD vector 3, is getting inputs, while Joystick/Keyboard are not and they are setting it to default values of 0,0,0.