Hi,
I want to be able to drag and drop three 3D cube cards onto three 3D game spheres center locations and have it snap to place whilst never allowing two cards to occupy the same game spheres.
If the cube is dropped onto a game sphere with an occupying 3d card, it will shunt the other cubes along
The camera is pointing down over the game and the dragging is restricted to X & Z. The camera never moves.
An array that holds the live game memory locations should work but the collision and drag syntax.
Drag & Drop 3D objects in a limited 2D framework HotSpot Snap 3D Objects catch the 3d cards and snap them to the center. MemoryLocation Array to record the cards positions Logic to define the shunting of the cards
The unity3d forums post is here http://forum.unity3d.com/viewtopic.php?t=46566
What syntax should I use to detect the collisions of game card and game sphere which will allow for the shuffling of the cards.?