I have a character that can shoot bubbles onto walls. When the player runs into the bubbles, she bounces off them with a script on the bubble that uses OnCollisionEnter.
When I shoot the bubble, I parent it to the collider.transform that it hit, so that way, if there is a moving wall or something with another rigidbody on it, the bubble will move with it.
This works if the parent does not have a rigidbody. The OnCollisionEnter function is not called if the parent also has a rigid body. Why is this, and how can I get around it?