- Home /
How to detect if two objects become a square ?
Hello, i want to detect if two rectangle gb or four mini square or both ways, they become a big square. I am new and out of idea, can you suggest any doc or video ? anything is fine, thank you. To more visualise, i have some geometric objects in my scene and they can be merged. If player merged them like in tetris, but in 3d and has to be square shape, and thus player will earn points.
Answer by Cerberus_team · May 06, 2020 at 04:46 PM
You could calculate the bounding box size of an array of renderers.
Your answer
Follow this Question
Related Questions
Please help my head is burning from this problem : i have multiple gameobject , same script 1 Answer
Calculating Scrolling GameObject x position scrolling pass another GameObject x postion (2D Game) 1 Answer
How do I play gameobjects in my scene from one script / Script is not working 0 Answers
How to double spirte/gameobject/prefab and control the result on those items? 0 Answers
Why is my Unity script overwriting other game objects on which it is attached to? 1 Answer