I use Bullet only for character physics (btKinematicCharacterController without changes). I need multithreading support for a large number of characters. What can I do for this?
For example:
Code: Select all
void btDiscreteDynamicsWorld::updateActions(btScalar timeStep)
{
BT_PROFILE("updateActions");
for ( int i=0;i<m_actions.size();i++)
{
m_actions[i]->updateAction( this, timeStep);
}
}
UPDATE:
Important condition: characters do not collide with each other (filtering by masks), only with static terrain.