When I add multiple vehicles to the game using the btVehicle class the frame rate halves.
Is there a way I can reduce the tick of the vehicles?
At the moment im just stepping the game at it's defult settings:
void BulletPhysics::Update(float dt)
{
m_dynamicsWorld->stepSimulation(dt * 0.001f);
}
Multiple Vehicles cause frame rate to drop drastically.
-
MrPuff
- Posts: 14
- Joined: Wed Oct 27, 2010 8:16 pm
-
MrPuff
- Posts: 14
- Joined: Wed Oct 27, 2010 8:16 pm
Re: Multiple Vehicles cause frame rate to drop drastically.
Apologies I should provide more information about the problem in my posts.
The problem turned out to be that I was using convex hull shapes with too many polygons, after simplifying them I no longer have any speed issues with multiple raycast vehicles.
The problem turned out to be that I was using convex hull shapes with too many polygons, after simplifying them I no longer have any speed issues with multiple raycast vehicles.