Hollow pipe in 2d

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bruteforce

Hi,

A want to create a “hollow pipe”.
enter image description here
The ball (RigidBody2D) can pass through it (and it can be very fast), but not from the side.
What is the best technique to achieve this in godot?
2 extra thin (almost zero width) StaticBody2D?
Is there any better solution?

Thank you!