How can make an object that has collided with something specific a child of the other object, like this:
MagneticPiston - ExtrudesHead - Collides - Magnet
How to make magnet a child of the pistons head?
How can make an object that has collided with something specific a child of the other object, like this:
MagneticPiston - ExtrudesHead - Collides - Magnet
How to make magnet a child of the pistons head?
By reading the docs
In short: this.parent = that; // where "this" and "that" are transform components
– Bunny83I know about that, thats what i use currently, but is there a way when an object becomes a child, but doesnt makes it self a parent of that.
– DryTearPlease elaborate more on your question... i feel like answering, but im not even sure what object is what at the moment. They 4 objects? They one object with a hierarchy of 4 objects? You want to shift the hierarchy up a level, so its not at the bottom level? Whos touching who? What is extrudes head and collide? -.-
– ArmarageX