problem with physics - pinball "like" paddle jitter

0 favourites
  • 4 posts
From the Asset Store
A classic pinball game with an interesting twist!
  • Howdy

    So, I'm trying to set up a simple flipper akin to what would be in a pinball machine. I found a nice tutorial that uses physics Behavior but when I run it, the paddle jitters up and down. It also seems to ignore my inputs. any suggestions?

    so far this is what I've done.

    • Create the paddle
    • give it the Physics Behavior
    • set linear/angular damp to 1
    • For every tick > Create limited revolution joint ((Ive set it to an "anchor" in the scene))
    • added "add impulse" on click
    • every tick set impulse opposite to what is the click

    by the by, this is the tut i was following.

    scirra.com/tutorials/207/pinball-physics-to-the-max/page-1

    thanks for any help.

  • Well, you don't need to create a revolute joint every tick, doing it once at start should suffice like in the tutorial. Other than that if you've followed the tutorial it should work as far as I can tell. Are you sure you're applying impulse to the correct image point?

  • Well, you don't need to create a revolute joint every tick, doing it once at start should suffice like in the tutorial. Other than that if you've followed the tutorial it should work as far as I can tell. Are you sure you're applying impulse to the correct image point?

    I followed it down to the T but it seems I missed something. I'm rebuilding it again to see what i missed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not sure how, but this fixed it. Not sure how I did it but I did.

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