random fix for box2D 2.1a

we have friction problem on 2.1a, it seems the flash port no longer maintained. the problem is all body feels like having a verry small friction. try to setting it to 1000000 also not working.

to solve this go to
Box2D/Dynamics/Contacts/b2ContactSolver.as

find this line
maxFriction = friction * ccp.normalImpulse;
change it to
maxFriction = friction * ccp.normalImpulse * 2;

please note
1. this use random thought.
2. no physical knowledge involved
3. i can't speak English well.
Hello, i did this fix, but i still have the same problem.

I'am searching for a solution now....

The project is alive?
jmelnik wrote:Hello, i did this fix, but i still have the same problem.

I'am searching for a solution now....

The project is alive?
The original formula (maxFriction = friction * ccp.normalImpulse;) is the correct one. When you set friction for the fixtures, the friction values should only be between 0 and 1. Also, the actual friction used is calculated between the two fixtures in collision. So if you want really high friction, both fixtures in question need to be a high value between 0.0 and 1.0.

Original thread: https://box2d.org/forum/viewtopic.php?t=7846