'in unity2d physics, I have noticed that it would cause massive lag if a rigibody collide with lots of colliders at the same time, is there a way to

in unity2d physics, I have noticed that it would cause massive lag if a rigibody collides with lots of colliders at the same time, is there a way to limit the amount of contacts a rigibody could have with a specify layer?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source