I'm testing joints accuracy from bullet vs ODE. I did a slider between 1 body (mass=1.1 Kg) and 1 static body.
I'm using fixed timestep: m_dynamicsWorld->stepSimulation( 0.01, 2, 0.01/2);
Using ODE, the body slides along axis and the joint does not produce any error.
With bullet, when body position grows (along slider axis) , it seems that the joint produces a big error according to the (anchor-bodypos) distance.
See attached file (ODE equilibrium, Bullet equilibrium).
By replacing Slider joint by Generic6DOF does not change anything.
QUESTION 1: Is it possible to 'rigidify' the joint ?
QUESTION 2: I've implemented a regulated spring (not using the build-in Bullet springs).
The mathematical model shows that the equilibrium position is at position 2.0 along the slider axis.
With ODE, the equilibrium is exactly this position (+- 10e-3). With bullet, the body equilibrium position is 2.73 !!
I'm using _btrigidBody::applyForce at each timestep where force= -position*KP - Velocity*KD
Hoping someone can help me

Thank you