Why won't pinball physics work as expected?

Godot Version

4.2.2

Question

Often the flippers hit the ball just fine, but sometimes they connect and sap all the velocity out of it, and it’s pretty frustrating. Have you run into this kind of thing? Seems like they aren’t colliding quickly enough to me?

https://postimg.cc/tsWJqwBM

I’ve tried slowing the flippers, restricting the ball’s speed, increasing the collision shape sizes, increasing the safe margins, so many things I can’t remember it all.

The ball is a RigidBody2D and the flippers are CharacterBody2Ds.

Try making the flippers AnimatableBody2Ds, try sync_to_physics and without sync_to_physics, might also make it easier to animate the motion.

1 Like

Hadn’t tried that. OMG what an improvement. Thank you @gertkeno !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.