ECS performent collision
I am looking into making a demo project using ECS, consisting of a whole bunch (couple hundred at least, hopefully a couple thousand) ships in space, shooting at eachother, with varying sizes of ships and bullets.
I looked at the Unity ECS Physics project on Github, and while looking at the CollisionUT project, bumped up the number of dynamic cubes to about 400. While I am impressed they have collision for ESC at all, I was disappointed to see my frame rate drop to 7 when the cubes hit the floor.
So, clearly that demo does not support mass scaling. But how would I get performent collision detection using ECS?
PS: we need an ECS / Entity Component System tag for topics
I just reviewed the Unity at GDC $$anonymous$$eynote 2019, and at 1:33:36 into the video they start talking about the physics, and show off the Unity/ Havok physics. so... I'll be looking into that project for inspiration. I would still like to know if anyone has any ideas about how to use the physics components, in lieu of comprehensive API and recent (summer 2019) ECS Physics tutorials.
Your answer
Follow this Question
Related Questions
Collision working once 3 Answers
How to use SphereCast to allow AI to see player on top of a wall? 1 Answer
Horrible Lag spike when Looking at an object that's showing GUI 1 Answer
Player cannot destroy enemy 1 Answer
Who collided first 0 Answers