Search found 4 matches

by rney
Wed Apr 08, 2015 11:06 pm
Forum: General Bullet Physics Support and Feedback
Topic: Friction problem - Sphere isnt rolling on a straight line.
Replies: 8
Views: 2792

Re: Friction problem - Sphere isnt rolling on a straight lin

I didn't find documentation about SOLVER_INTERLEAVE_CONTACT_AND_FRICTION_CONSTRAINTS yet....
Can someone help?
by rney
Thu Apr 02, 2015 6:18 pm
Forum: General Bullet Physics Support and Feedback
Topic: Friction problem - Sphere isnt rolling on a straight line.
Replies: 8
Views: 2792

Re: Friction problem - Sphere isnt rolling on a straight lin

Hello Guys! I solved the problem using this flag : btContactSolverInfo& info = _dynamicsWorld->getSolverInfo(); info.m_solverMode |= SOLVER_INTERLEAVE_CONTACT_AND_FRICTION_CONSTRAINTS; But I had to change all my configurations about friction and damping to have the same feeling that I had before. Ca...
by rney
Tue Mar 31, 2015 10:07 pm
Forum: General Bullet Physics Support and Feedback
Topic: Friction problem - Sphere isnt rolling on a straight line.
Replies: 8
Views: 2792

Re: Friction problem - Sphere isnt rolling on a straight lin

I don't know if I am following the right track, but I'm trying to understand what m_solverMode (btContactSolverInfo) means to the friction. Can someone explain what these constants mean? SOLVER_RANDMIZE_ORDER = 1, SOLVER_FRICTION_SEPARATE = 2, SOLVER_USE_WARMSTARTING = 4, SOLVER_USE_2_FRICTION_DIREC...
by rney
Tue Mar 31, 2015 8:12 pm
Forum: General Bullet Physics Support and Feedback
Topic: Friction problem - Sphere isnt rolling on a straight line.
Replies: 8
Views: 2792

Friction problem - Sphere isnt rolling on a straight line.

Hello guys :) I am kind of new using bullet and I am trying to create a 8 ball pool game with it. It was pretty hard for me to find a good configuration for friction, gravity and etc.. that would look familiar to a pool game. My selection was : // Global physics parameters #define PHYS_GLOBAL_SCALE_...