bulletphysics - How to achieve maximum simulation accuracy in Bullet? -
i'm simulating rope rope collision in bullet , i'd accurate possible. don't need simulation real-time. rope consists of rigid bodies connected using constraints(e.g. btconetwistconstraint).
which settings need tweak simulation become more realistic , accurate?
from experiments decreasing 3rd parameter 1/300 gives additional accuracy.
gdynamicsworld->stepsimulation(simulation_step_time, 1, 1.0f/60.0f);
also increasing solver iterations count helps bit:
btcontactsolverinfo& info = dynamicsworld->getsolverinfo(); info.m_numiterations = 50;
there videos people simulate thousands of bodies in blender. i'd achieve similar effect in c++ app.
Comments
Post a Comment