Struggling to make a circle bounce at low speeds

I'm trying to just get a circle that always bounces off of a surface and yet i seem to be hitting a problem where at slow speeds with angles starting to be parallel to the surface's face the circle gets absorbed onto the surface and then rolls along it.

I have no gravity on and have the following constants set

circle:
linear_damping = 0.7
angular_damping = 0.4
friction = 0.2
restitution = 0.99

static box surface:
friction = 0.4
restitution = 0.99

I've been playing with these constants blindly so they're not really suitable anymore, frustratingly going from one extreme to the other with each of them seems to have no effect on this particular problem of the circle being "absorbed" into the surface and rolling along it.

Any pointers as to whether this is a side effect of something in Box, or what kind of values i should be looking at to fix the problem would be very much appreciated.

I've set the circle and surface's restitution to being the same when really i want the circles restitution a lot lower, but because of the way box works with restitution this is the only way you can get such a bouncy setting to be used for the circle to surface collision. Surely at 0.99 I should expect the perpendicular to surface component of the circle's velocity to be nearly perfectly reflected away from the surface! The linear damping is to stop making the circle feeling like its moving on ice when not hitting anything, but i wonder if that could be playing a part in the collision response not managing to push the circle away?

I'll have to double check the resultant mass of the circles as well, i'd hope they'd be in acceptable ranges for Box.. if they were too small could that be causing what i'm seeing?

Anyways, your help as ever is appreciated.

Cheers

Jim
This is deliberate by Box2D. Stopping objects rather than bouncing them at low speeds is important as it allows objects to come to a rest / have friction calculated properly. There is a setting in b2Settings for changing this. I forget it's name, but it's something sensible.
Thanks Boris.

I presume you're talking about

Code:
   /// A velocity threshold for elastic collisions. Any collision with a relative linear
   /// velocity below this threshold will be treated as inelastic.
   static public const b2_velocityThreshold:Number = 1.0;      // 1 m/s


I'll experiment with it, i take it that playing with this threshold could cause big problems for the simulation stability? Frustratingly though i'd like to share a single bullet "install" between multiple projects, most of which wouldn't want this threshold changing. I guess the easiest way of doing that and still being able to easily update to newer versions of bullet is removing the const from it.

As you can see i'm working with the Actionscript version of bullet SDK, i'll take any more specific queries if i get them over to that forum.

Thanks for your help, this forum is great!!

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