Pinball - Physics to the max!

Index

Stats

4,464 visits, 12,921 views

Translations

This tutorial hasn't been translated.

Tools

Now, we want the paddles to move and to apply force to the ball. This is done by applying an impulse to the force imagepoint of the flipper sprite.

Since we are applying an upward impulse to the forcepoint and the paddle is hinged on the pivotpoint, the paddle should spring upward.

When running the layout and acting the paddle, you'll find, that the fall back quite slow and when the ball hits a paddle, that is not used, it will create an impulse within the flipper, that will cause it to spring randomly.

We can prevent this by applying a constant downward force on the forcepoint. This will be done every Tick.

This force overacts the impulse by the ball and lets the paddle fall back as wanted.

Now you're set up to build a basic pinball.

In the next section, we'll cover the other active parts you may need.

  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!