playMaker

Author Topic: Simple character controller, not reacting as I hoped  (Read 1714 times)

ShinfoKensei

  • Playmaker Newbie
  • *
  • Posts: 22
Simple character controller, not reacting as I hoped
« on: February 05, 2015, 11:10:36 AM »
Hey there,

So I've been following Jere Miles' tutorial on youtube for a simple character controller, substituting the animations for mecanim using Animator Cross Fade as suggested here in the forums.

Here's my idle state:

http://i.imgur.com/BbJYFbn.png

I'm having issues with my walk. If I tap Up (but not hold), the character will move forward on its own rather than stop, since the key is no longer being pressed.

Walk forward has Get Axis Vector, Axis Event and Controller Simple Move on it.

Here's my walk forward state:

http://i.imgur.com/yYQNIfx.png

The weird thing here is, in Playmaker it will move back to Idle (green highlight), but the character is still moving forward.

I tried "Get Button Up" to force it back to idle, but it did nothing.

It also often gets stuck on a direction if I press more than one key at once (so, A and S then A and W pressing will see it stuck in a left strafe until I tap another key)

Any help is greatly appreciated. Thanks!
« Last Edit: February 05, 2015, 11:12:08 AM by ShinfoKensei »

ShinfoKensei

  • Playmaker Newbie
  • *
  • Posts: 22
Re: Simple character controller, not reacting as I hoped
« Reply #1 on: February 05, 2015, 11:18:05 AM »
Ok so if I remove transition duration, it seems to fix the moving forward on its own, but of course, now theres no transition in my animations. Hmm.