Question by
umurcg · Nov 05, 2017 at 10:03 PM ·
collider2dperfomance
How to optimize colliders for high number of collision?
Hello,
I have a prefab object having a 2d collider. Let say I instantiate that prefab like 1000 times, and these prefabs have variable positions which may be same position time to time. In that case while 1000 colliders collide each other, there appear a huge performance issue.
I want to optimize collider of this prefab in a way that ignoring colliders of gameobject who come from same prefab. Are there any method for to do that? Or another trick to solve that performance issue?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612142450im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Color triggered collider? 0 Answers
void OnTriggerEnter() not working properly? 0 Answers
OnTriggerExit2D firing when the object stops. 0 Answers
When is OnTriggerExit2D called? 1 Answer
Unity Freezing During testing 0 Answers