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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -