Similar to this topic (which has no answers).
I would like the player to be able to remove the Lid of a Barrel (by smashing it or knocking it off). If the lid hasn’t been knocked off or destroyed, it should remain attached to the barrel, even if the barrel moves, etc.
I cannot get the lid to remain attached to the barrel while simulating physics on both. If I don’t simulate physics on the lid, I cannot perform hit detection.
So I’ll break this down into some simple questions:
-
Can I have 2 objects be attached to one another, and both of them simulating physics? The barrel and the lid should not collide with one another.
-
Alternatively, can I have the lid attached, not simulating physics, and still have it generate a hit event when hit by the player weapon?
-
I have tried using overlap events (which obviously do trigger) - but how would I use this method, and have the overlap of lid and player weapon cause it to block, and also apply the appropriate physics to the barrel? ← the barrel should react as though the lid was hit and simulating physics.
I feel like I’m missing something fundamental here, and I thought this should be quite a straightforward problem, but I just can’t get anything to work.
Thanks