playMaker

Author Topic: Weird Inconsistent Movement Issue  (Read 146 times)

misterjuly

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Weird Inconsistent Movement Issue
« on: April 06, 2021, 02:32:17 PM »
Hello,

I am having this weird, inconsistent movement issue. Every once in a great while, my character will move further than I tell him to. It's like I am holding down the button longer than I am. My character doesn't move forever when I do this, maybe just a few in game feet and I will emphasize this only happens once in a while (but still is a problem). I am using get axis action as well as a set velocity 2d. I also have a running system when you hold shift the character moves faster (using get key down as well as the previously mentioned actions). Any help is appreciated. Thanks!

John Bassi

misterjuly

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Re: Weird Inconsistent Movement Issue
« Reply #1 on: April 07, 2021, 09:43:20 PM »
Bump

Weak Interactive

  • Beta Group
  • Playmaker Newbie
  • *
  • Posts: 30
    • View Profile
Re: Weird Inconsistent Movement Issue
« Reply #2 on: April 08, 2021, 02:51:00 AM »
Without knowing exactly how your FSM's are setup, it's hard to say what the issue is. The best thing would probably be to link your zipped project for someone to take a look at.

Until then, have a good one and good luck.


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6003
    • View Profile
    • jinxtergames
Re: Weird Inconsistent Movement Issue
« Reply #3 on: April 08, 2021, 09:13:50 AM »
Hi.
Its indeed hard to say if we can't see the setup.
you could make a short video showing the states.

also try playing while looking to the states to see what's happening

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3893
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Weird Inconsistent Movement Issue
« Reply #4 on: April 08, 2021, 11:40:29 AM »
Does it happen in standalone builds as well as in the editor? There is overhead in the editor, and sometimes you can see glitches that don't happen in standalone builds.

misterjuly

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Re: Weird Inconsistent Movement Issue
« Reply #5 on: April 12, 2021, 02:33:20 PM »
I can upload the project, but I am concerned if I upload it, playmaker will be included and anyone from the internet can have access to it without buying it. How do I export it without including playmaker?

misterjuly

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Re: Weird Inconsistent Movement Issue
« Reply #6 on: April 12, 2021, 02:36:45 PM »
Also, here is the FSM:

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6003
    • View Profile
    • jinxtergames
Re: Weird Inconsistent Movement Issue
« Reply #7 on: April 12, 2021, 03:00:10 PM »
Hi.
In state 2 there is a 'Get key Down' action that has no event connected.
This might be the issue
You should remove that one.

Also on the events like on 'Get Key Down/Up you should not use 'FINISHED'
You should make a custom event for example 'Key Pressed' 'Key Released'

'FINISHED' is best to use only with actions that do not have events (as its a default used event)