- Home /
Best way to make this grid
Hi!
I'm developing a panel with several modules. Each module is represented by an "x", according to the attached image: http://imgur.com/a/1NkHu
Each module has a collider that I use to detect a touch. When I click and drag a shape into a module, the shape conforms to example 1 of the image.
My problem is that I need to make the shape grow to any direction by taking up the points touched by the user.
I have shapes modeled in all possible sizes. What I need to do, is to position them and grow them according to the module touched.
Note: Modules are not within a grid.
What is the best way to solve this?
Your answer
Follow this Question
Related Questions
How do i code a Mesh collider ? 1 Answer
Tiling problem: how to know where to put next tile? 1 Answer
When I look around, my character rotates in a weird circle and it causes it to move around. 0 Answers
Rotate camera only in 2 directions based on player touch 1 Answer
How do i Instantiate gameObjects in between multiple points? 2 Answers