playMaker

Author Topic: multiple inputs with axis event action?  (Read 2549 times)

robbhimself

  • Playmaker Newbie
  • *
  • Posts: 2
multiple inputs with axis event action?
« on: June 28, 2012, 02:45:32 PM »
Hello all!

I was wondering how to do multiple inputs with "axis event" action.

Im using it to control a "hover vehicle" of sorts and when pressing up i cannot press left or right at the same time.  I have to let off of the "up" arrow to press left/right (or any new key).

I've tried doing it in seperate fsm's but it still wouldn't work.

any help would be appreciated.

Thanks,
Robb

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: multiple inputs with axis event action?
« Reply #1 on: July 02, 2012, 02:23:24 AM »
Hi,

 this is odd, using separate FSM is indeed a good solution and it should work, I have this kind of set up myself.

 It might be a problem further down the behavior, likely in the way you control the vehicle. What value is controlled by the axis input?

Bye,

 Jean

robbhimself

  • Playmaker Newbie
  • *
  • Posts: 2
Re: multiple inputs with axis event action?
« Reply #2 on: July 02, 2012, 11:46:55 PM »
hi jean,

thanks for your reply.

since the hover vehicle relies on rigidbody and there is no character controller,  I'm using "add force".

do you think this is causing the problem?

I think I might just rebuild the vehicles logic from ground up to see if that helps.

 

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: multiple inputs with axis event action?
« Reply #3 on: July 04, 2012, 03:00:37 AM »
Hi,

 yes, likely, maybe you are not defining the direction properly and input cancel each other and fight for setting the direction.

difficult to tell more without seeing the fsms and how it's set up

 bye,

 Jean