Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Feedback Improve performance

Discussion in 'Physics for ECS' started by optimise, Jan 20, 2023.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    1,687
    Currently I think still need to further improve dots physics performance. From my understanding since dots physics is stateless meaning that it will keep rebuilding bounding volume every frame. Firstly, I think should make entity that is static physics exclude from building bounding volume every frame. I believe this should improve performance significantly. Secondly is to make a little of exception that cache some physics data that is performance critical to improve performance significantly. I know it's no longer 100% pure stateless physics anymore but I think keep rebuilding the same bounding volume every frame is kind of stupid and waste CPU processing power for nothing.