Hello, I have some problems with Havok multithreading mode. When I use Contitious simulation mode it's much faster than the same scene in multithreading mode. My Processor is Core Quad 2.4GHz. Even if set number of threads to 1 in multithreading mode it's slower than continious :(
My code is:
// From create_world() function.
info.m_simulationType = hkpWorldCinfo::SIMULATION_TYPE_MULTITHREADED;
ci.m_world = m_world;
ci.m_numThreads = 1;
m_multithreadingUtil = new hkpMultithreadingUtil(ci);
// From step() function
if (m_multithreadingUtil != HK_NULL && m_multithreadingUtil->m_state.m_world == m_world)
And that's all that I've done (I get this from Demo's sample solution). Maybe I forgot something and that's why it's very slow. Help me please.