I have this scene : three bouncy balls free fall onto ground, higher position ball will be bounced higher. this is correct in SDK 2.77 but now there is something wrong with SDK 2.78 : higher position balls is not bounced higher.
I have read tutorial article about BtContactSolverInfo : http://bulletphysics.org/mediawiki-1.5. ... SolverInfo, changed solver info etc. but still incorrect. What should i do to make their behavior just like old times? thank you.
1. Ball start positions are : <-3, 3, 0>, <0, 7, 0>, <3, 11, 0>, in SDK 2.78, the 3rd ball (highest one) bounced obviously lower than 2nd ball.
2. step simulation parameters are : dynamicsWorld->stepSimulation(timeDelta, 4);
3. Gravity is 9.81, By the way, in SDK 2.78 gravity=-10 and gravity = -9.8 makes big difference : take first ball for example (3 units from ground), if gravity is 9.8, it bounces correctly but with gravity is 10, it almost no bounce, why is so different? in SDK 2.77 it bounces always correct.
Ball Settings (same for all 3 balls) :
Code: Select all
angularDamping = 0.3f;
linearDamping = 0.3f;
friction = 0.5f;
restitution = 0.9f;
mass = 1.0f;
radius = 0.3;
Code: Select all
angularDamping = 0.3f;
linearDamping = 0.3f;
friction = 0.5f;
restitution = 1.0f;
mass = 0.0f;
half-extents = <50, 50, 50>