- Home /
Where can I find resources on how to drag 3D objects into a room based on a grid
I am working on a game where you can drag furniture into a room but I am a bit stuck finding resources suitable to kick me off.
So far I have created a floor tile prefab and a script to Instantiate these objects in a 30x30 grid.
My furniture may be any shape up to a 5x5 grid.
I also have a script that draws a ray and highlights (with rendered.material.color) the floor tile that the ray hits.
I have tried search google and other forums to find out how to drag an object on a grid with a specific shape and allow the objects grid to be laid over at the mouse point but with no luck.
I am assuming the problem is that I am searching for the wrong thing.
So my question is Where can I find resources for information about how to accomplish this?
The closest thing to what I want to achieve is seen in games like Theme Hospital and other builder like games.
Your answer
Follow this Question
Related Questions
How to make a drag and drop menu in 2d for a 3d game (sims 4 furniture like) 0 Answers
Drag and Drop for X and Z 0 Answers
Drag and drop 3d game 1 Answer
Drag and Drop 3D Objects around in 3D space and snap to other 3d locations with logic card shuffling 2 Answers
How to drag 3D game objects on X and Z axis? Keep Y axis constant 2 Answers