working on a pinball game plunger mechanic. but struggling with the physics of the plunger

Hi everyone,

I am working on a pinball game but I struggle a lot with the plunger mechanic that uses a power

meter to determine how much charge needs to be applied to my plunger to make it shoot forward.

but I got this weird glitch where the longer I press and release the more the plungers begins to clip

any idea how I can fix this?

Hello @bonisoft19, Welcome to the forums!
Without seeing how you’ve implemented the **plunger mechanic **, it’s a bit difficult to know exactly what might be causing the problem.

Could you share a screenshot of your Blueprints or your setup? That would make it much easier to understand how your implementation is working and try to identify what might be causing the clipping.

While in the meantime, I’m also leaving you this series of videos, which contains 6 chapters, on how to make a pinball, which might serve as a reference or guide to solve the problem you’re having.

Hi thanks for the reply :slight_smile:

so here is whats happening in the viewport

the pullback works but when I launch the plunger it goes trough the collision of my pinball machine

could it also be a collision issue ? and how can I ix it

Yes, it could be related to collisions. Could you record a video showing what happens with Visibility Collision mode enabled?
You can activate it in the viewport from View Mode → Visibility Collision. That could help us better see if the plunger or the pinball machine has any issues with their collisions.

Also, if possible, could you show your Blueprint a bit more clearly? Especially how you have it configured and how the settings are set in the Details section of the component.

hey looks like I already fixed the problem it was indeed a collision issue but it’s fixed now :slight_smile:

1 Like