Hi everyone.
I have glass Ball.inside it there are 5 cubes.I created a sphere collider for glass ball and box colliders for all of the cubes.problem is here that when i play,cubes go away like splash and moves out of glass ball.
what should i do?
Thanks.
1 Answer
1
You can’t have colliders inside of other colliders. The physics system is resolving that by moving the cubes out of the sphere.
This is a hard problem. You might need to think of a different way to do it. What is the effect you’re trying to achieve?
Are you wanting the cubes to bounce around in the sphere?
– whydoidoithey i have same kind of scenario! i have one object with box collider having one or more sub objects inside parent. now i want to GetInstanceID on particular object touch. Thanks in advance.
– Mrab