A
A
Alexey Kryazhev2019-07-15 11:28:50
Unity
Alexey Kryazhev, 2019-07-15 11:28:50

Have you played Osmos? How is physics done there, when a larger round hits a smaller one, does it absorb it?

Have you played Osmos? How is physics done there, when a larger round hits a smaller one, does it absorb it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2019-07-16
@Aassians2

- collision check
- if there is a collision (touch), reduce the size of one object (scale) and increase the second.
______if the volume has become 0 - delete the first one and stop increasing the volume of the second one.
if the collision has stopped, leave the volume until the collision breaks.
-all. devoured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question