problem with physics - pinball "like" paddle jitter

Get help using Construct 2

Post » Wed Aug 24, 2016 1:33 pm

Message: brick334 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
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.
https://www.scirra.com/tutorials/207/pinball-physics-to-the-max/page-1

thanks for any help.
B
9
S
1
Posts: 15
Reputation: 670

Post » Wed Aug 24, 2016 7:11 pm

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?
B
53
S
24
G
18
Posts: 295
Reputation: 13,115

Post » Thu Aug 25, 2016 12:14 am

Sup with that? wrote: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.
B
9
S
1
Posts: 15
Reputation: 670

Post » Thu Aug 25, 2016 2:16 am

Image

Not sure how, but this fixed it. Not sure how I did it but I did.
B
9
S
1
Posts: 15
Reputation: 670


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests