- Home /
What algorithm does collision detection system use?
I'm making a 2D platformer, and my plan is to develop my own collision system. I'm using AABBs and my idea was to use space partitioning, or maybe sweep-and-prune.
But I wonder, ¿how does Unity's native collision system work? ¿What algorithm does it use? ¿Does it even make sense to develop a collision system already having a fine one? I will do it anyway (just for fun), but it would be great to know.
Answer by villevli · Mar 02, 2018 at 09:15 PM
I think Unity uses Box2D for 2D and NVIDIA PhysX for 3D physics.
Well, then the question would be: What algorithms do Box2D and Nvidia PhysX use for collision detection? I guess they are very optimized, but I want to know if I could develop a simpler and faster system.
Your answer
Follow this Question
Related Questions
Mobile RTS game 0 Answers
How do you raycast from an object ignoring only that object? 0 Answers
How to reliably break contact/collision? 0 Answers
OnTriggerEnter2D not working properly 1 Answer
Possible Character Controller issue? 0 Answers