I would like to place object in a 3d world "like minecraft player can do".
What I'm trying to do is to allow the user to place objects, without overlapping them (like in minecraft you can do).
So if the player try to place an object partially over another, my game automatically "move and place" the object in the allowed position.
What can be the right approach ?