- Home /
How to stick 2D textures?
Hi. I want to make a puzzle game and I cut the picture into pieces. I want to attain that if the player put two pieces next to others they stick and can be moved together (still can sawp them tho). So how can I stick them?
Comment
The typical way to move multiple objects as a unit is the parent/child relationship. This can be dynamically set. See Transform.parent. I'm not sure what kind of interface you would have that both has adjacent object moving together and also allows them to be swapped.
I meant they can be swappes with other pieces (when he move it over one of them) and thanks, I will start begin there.