The main problem is the 2 parts Magnetic joints are rotating about its axis, in real life, it should not rotate, because of this, the assembly is under definite. and I want to lock the axial rotation and to be fully defined. I will upload 4 pictures showing what mats did I use so you can give me a suggestion.
The goal is to lock the axial rotation of the part so it does not rotate about its axis but the 180-degree movement in all direction to not be limited to 1 plane.
Mate one of the planes that lie on the axis in the magnet-link part parallel to one of the hexagonal edges.
This allows the axis to swing while keeping rotation locked.
Hope this helps,
Ray