K
K
K1ald2021-12-04 11:23:47
Unity
K1ald, 2021-12-04 11:23:47

When touched, objects should “stick” to each other, how can this be done?

I need that right at the contact of 2-3 objects, they stick as if they were originally a single whole.
In my case, the objects are rectangles. I haven't been able to find a solution since yesterday.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LittleBob, 2021-12-04
@LittleBob

Googled about Set.parent. Something like that. You simply make these objects child objects upon contact and they become one.
https://youtu.be/oHjXmnF8mj0
This video will help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question