Answer the question
In order to leave comments, you need to log in
How to remove objects on collision and add another one?
I don’t catch up at all, for example, I have an object H (Hydrogen) and O (Oxygen), when they collide, they need to be removed and an H2O (Water) object added, how to implement this?
Answer the question
In order to leave comments, you need to log in
Read the documentation for MonoBehaviour.OnCollisionEnter and see the official tutorial . You can use Object.Instantiate to turn on water .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question