Say you have a room, with spikes on the walls and ceiling and floor. In that room is a floating object in which its movement is controlled by the player. In that same room there are other objects floating in space.
What I’m trying to accomplish is once the object you control touches a free floating object they stick together and move as one object. At the same time, if any of the single objects in the group touch a spike, it gets destroyed, leaving the other object it was once attached to intact.
I’ve tried parenting to no success. I’m new to Unity and I’m not a programmer. I’m using Bolt. I understand the basic logic of how things work so I can probably figure out any code you may type. From what I understand all I need to do is get objects to ignore each other once they collide, but only ignore each other and still look for collisions elsewhere. Once they’ve collided they need to take input from the player as if they were a single object.
The easiest solution would be to just replace the sprite with a new sprite that shows two objects instead of one, but I was hoping to give the player better interactivity by showing a specific object getting destroyed in real time. Thanks. I hope I explained it clearly enough for you.