How to pin a RigidBody2d on another RigidBody2d?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By João Fagner

I am try to pin a RigidBody2d on another RigidBody2d.

The Idea that I want to create in Godot is catapult the first RigidBody2d to another RigidBody2d, and the first RigidBody2d be pinned to the second RigidBody2d.
I know sound a litle cofusing but, I want pratically to recreate the Donkey Kong
barrel catapult effect thats almost the same Ideia.

But I dont know how to start the Ideia, I´am trying using RigidBody2d and PinJoin the object, but I dont know if is possible.

Sample
enter image description here