Actions in a 2D Card Game

Hi! Im trying to make a solitaire game using Unity 3D.

My problem is I don’t know how to simulate the drag action of the card and when I release the mouse button it’s going to snap on a another card when it’s valid.

Is there a tutorial on how I can drag and drop the cards? Should I use a plane? Should I make them rigid bodies? And with the “drop” action how can I snap it so that the arrangement of the cards is still arranged?

I was able to achieve card-like drag and drop with very little effort. I gave each card a RigidBody (with gravity turned off) and got drag-and-drop for free by using the Standard Assets DragRigidBody script.

To get the ‘snap to specific position’ effect, I used some basic raycasting and iTween.

The combined effect can be seen in this video.