playMaker

Author Topic: [SOLVED]Get Key Up Not Working As Should  (Read 1740 times)

G-Kaiser

  • Playmaker Newbie
  • *
  • Posts: 34
[SOLVED]Get Key Up Not Working As Should
« on: December 08, 2014, 12:37:57 AM »
Hello,

I am not sure if this is a Playmaker issue or an issue with Unity 4.6. I have a "crouching"FSM and I have it so that when a key is down it causes the player to crouch. If i hold it down then the player will crouch and stand on GetKeyUp. But If I tap the key the player will crouch and stay in the crouching state and ignore the GetKeyUp action. I have tried many different keys but they all do the same, so the issue is not a stuck key. This is the only FSM that does this, the other FSM work fine. Can some one tell me why this might be happening?
« Last Edit: December 11, 2014, 10:25:23 PM by G-Kaiser »

rik

  • Full Member
  • ***
  • Posts: 246
Re: Get Key Up Not Working As Should
« Reply #1 on: December 08, 2014, 02:13:51 AM »
use bool test for this if the button is pressed it will crouch if not i will stand