playMaker

Author Topic: 3 movement inputs not working  (Read 1599 times)

Renoki

  • Playmaker Newbie
  • *
  • Posts: 3
3 movement inputs not working
« 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.



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.

DennisJensen

  • Full Member
  • ***
  • Posts: 104
Re: 3 movement inputs not working
« Reply #1 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
Game Designer, CEO, Artist
http://2ndStudio.com

PlaymakerNOOB

  • Full Member
  • ***
  • Posts: 219
Re: 3 movement inputs not working
« Reply #2 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.