How to make spherical connection in Catia V6(3D experience)?

I am beginner in Catia and I have no idea where I should constrain the surface or point. Picture is Ball Joint assy and I want to make it move. Upper part and Under part are seperated. Thank you in advance.

1 Answer

for a Ball joint, constraint the center point of the ball to the center point of the socket