Movement Jitter/lockon

  • I have been using custom movement and some objects to get an object that will be attracted to your location and everything, but it jitters when the player moves.

    Hammer Movement

    It's especially noticeable when I scale it up for the current project I'm working on, so I was wondering what kind of solutions would you folks recommend.

  • Use Pin behavior when it collides.

    Pin bevahior never jitters.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Use Pin behavior when it collides.

    Pin bevahior never jitters.say@Joannesalfa

    Pin can unpin it so it won't overlap/go through the wall when I need the lockon box to move through walls right?

  • Well it can Unpin it, but I might be using it wrong or something.

    Especially at higher speeds it's noticable when you the jitter happens

    However I rearranged some code originating with the marker, and apparently it should go before control functions of the hammer to ensure it's position is updated before the other's.

  • Thndr Honestly, I don't know what's your design of this game. You should implement groups as booleans.

  • Well that was more of an example trying to get things working, in case there was more custom movement bugs to report.

    Re-arranging the code got it working the way I wanted, since the code that adjusted the marker boxes came between hammer movement modifications, causing the issue

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)