playMaker

Author Topic: Axis Event[SOLVED]  (Read 1099 times)

PIXELCRY

  • Playmaker Newbie
  • *
  • Posts: 30
    • View Profile
Axis Event[SOLVED]
« on: January 10, 2013, 07:33:23 AM »
I have a weird problem with this action:
https://hutonggames.fogbugz.com/default.asp?W681
when i move my character left and right, if i press and release the key quickly it trigger the idle animation from run animation


but if i press the left or arrow key more than a second its like there is some inertia and it take 1 second to send the event <no direction>
how to get rid of that lag?
« Last Edit: November 28, 2016, 01:19:05 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Axis Event
« Reply #1 on: January 17, 2013, 12:17:52 AM »
hi,

 you first need to understand where this lag comes from. Difficult to say as is really. Are you sure you are not using some delay somewhere or wait for the anim to end or something? maybe you have mess your input settings and release a key takes time to have its input value back to 0?

bye,

 Jean

Automageddon

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Re: Axis Event
« Reply #2 on: November 27, 2016, 04:04:10 PM »
Hey,
3 and half years later I was having the same issue but I found the solution.

Go to Edit>Project Settings>Input Settings and change the "gravity" value in the input tab, A value of 100 sorted it for my 2D controller.