Simple 3d Puzzle Game

Hi, I am new to Unity.
I am trying to develop a simple 3d puzzle game where the user has to pick up objects and fit them together so that the game will be resolved only if the ojects are put in the correct places…such as the components of a car, building etc…Do you know where I should start from.
I was thinking to have a look at the collision detection section, but I don’t think it will have to be so complicate.

It would be something like Lego Designer, with the difference that the objects are limited and that they can only be put together in one way.

Ok many thanks in advance!!!

You could probably do this by defining a list of connection points on each object. Each point would just be a Vector3 representing a point in the object’s local space. You would also need to keep track of which points on one object need to connect with which points on the others. Then, as an object is moved, you could check the distance between the matching connection points and consider them joined if they get within a certain distance (you can use transform.TransformPoint to convert a point in an object’s local space to the corresponding point in world space).

As for dragging the objects around, an easy way would be to use the Drag Rigidbody script supplied with Unity, although it may not be accurate enough depending on exactly how the game works. If you do use rigidbody objects for the pieces then you might want to use fixed joints to stick them together when they are connected.

Many Thanks I will give it a try and let you know.
Has anyone else try to do this before(a 3d puzzle game)?

For JRavey from this post:

Sorry don’t have a design plan at the moment however I am using the ShadowDemoProject example for a start.

My game will be preatty much like that scene,just the opposite, so that everything start has broken up. The user then will have the possibility to throw objects around, however the task will be to put them in the right place.

I have achieved the part of making all the objects physical however I am still un-sure on how to make them too stick together when the user finds the right place…