Open mozhoku opened 3 months ago
Please specify target number of NPCs @mozhoku that we would like to support and test
I really like this old ecs example for visual traffic and pedestrians. https://github.com/maajor/OSMTrafficSim
Probably it could be useful to solve some general performance issues.
On my PC i can simulate around 50 but the framerate drops to 8fps.
The ecs example can run 10 000+ at high framerates.
Another paid Assets i tested.... https://assetstore.unity.com/packages/templates/systems/dots-traffic-city-220203
shows similar dots method.
I've started to work on this task. I'm exploring the posibility to use the ECS (Entity Component System) for traffic simulation.
Simulation slows down when there are lots of NPC's in the scene.