Armour wont attach to player - child object wont move with player - also collision issues when attached

Hello, I was hoping somebody may be able to help. I’m quite stuck at this stage. So here are some of the details.


I have a Player that moves around via key control and this all works well.

I have made an armour called ‘crust’ it has its own health and once it hits zero it vanishes. It also changes and cracks a little as it takes damage, a bit lake vase. it has 4 breakpoints so to speak. - that part works.

I added the collider that takes damage great.

attached it to the player as a child…

The 2 colliders clash and my player pushes the crust off. Basically the player refuses to wear his armour.


B plan - make it an illusion.
So I have the breakpoints etc and I have removed the collider from the armour and tried to attach it to the player and for some reason. When I try to attach it. it won’t move around the player at all. Now if I stick that colider back on the armour they will clash with each other and the repel.

I wanted to make it so that the game object armour actually doesn’t need a collider, it just needs to show that it is breaking and whilst it is being worn by the player. basically the player is invulnerable whilst the crust armour is worn.

I have tried a couple of ways of working around this to no avail, could anyone help me get that armour moving or sticking to the player please?

Thanks,

Hello.

There is a Layer Collision Matrix in Unity (Edit > Project Settings > Physics) that allow you to specify which object can register collision when contacting with another objetc. (NO SCRIPTING REQUIRED)


Full answer: How do i get some objects to ignore collision with a specific object? - Questions & Answers - Unity Discussions