playMaker

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

robbhimself

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
multiple inputs with axis event action?
« on: June 28, 2012, 11:45:32 AM »
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: 14400
  • Official Playmaker Support
    • View Profile
Re: multiple inputs with axis event action?
« Reply #1 on: July 01, 2012, 11:23:24 PM »
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
    • View Profile
Re: multiple inputs with axis event action?
« Reply #2 on: July 02, 2012, 08: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: 14400
  • Official Playmaker Support
    • View Profile
Re: multiple inputs with axis event action?
« Reply #3 on: July 04, 2012, 12: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