I need to create a game with following functionalities,
- when an object(obj 1) collision with the base, it should be linked and then the object needs to move with the base.
- New hitpoint is obj 1 top layer.
- after the collision a new object needs to created and it falls from top to bottom.
4.when obj2 hit on the obj1 hitpoint all objects and base need to be linked and move together.
is there any example that I can refer or please help me to build this scenario.
I have tried following code, but
- I cannot move objects and base together
- cannot increase hitpoint and build the structure of the objects (0bj2 in the top of obj1)