From the bundled Box2D headers in the current Corona distribution:
#define b2_velocityThreshold 1.0f
So any velocity under 1.0 will be treated as nonelastic in a collision.
Problem is by pool(billiard) bumpers they have to bounce back at any velocity that is greater than 0.
As the velocity is not exposed as a property of the physics object, that affects any kind of physics scenario involving objects hitting walls at low velocities, including the Sample Pool from the Physics directory in the Corona distribution. The balls simply stick to the walls (nonelastic) instead of bouncing.
Same problem affects the game i’m creating (physics puzzle games with a billiard-like scenario). Is there a possibility to change the velocityThreshold on ourselves, or what is the course there?
I’m close to release, with 7 bugs on my checklist, and this one is the only that cannot be fixed no matter how much one tweaks the other physics parameters…
Thanks.
Alex [import]uid: 4572 topic_id: 7863 reply_id: 307863[/import]