Recently developing a racing game, game is fine but when i added traffic system (AI cars with waypoints follower) the game becomes laggy ans slow. I used almost 300+ more cars with rigidbody and box collider attached. I searched about the solution of the problem : Some said it's the amount of rigidbnody or collider for making the game slow. But if I remove colliders then I won't be able to detect the collision between my main player's car and AI traffic cars.
Any solution or suggestion ?