How can a line2d be converted to a physics body?

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

How can we make a line2d behave like a physics body (like we see in Brain Dots)?

Maybe you can try adding a RigidBody2D with multiple collision shapes (SegmentShape2D)

yanb | 2020-11-02 16:06