SAM33 / jbox2d

Automatically exported from code.google.com/p/jbox2d
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

CCD problem #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Open LiquidTest.java
2. Comment out lines 323 through 332 (remove everything in the 
step(TestbedSettings) method except the call to the superclass step)
3. Run the test
4. Shoot a bomb through the falling group of particles

What is the expected output? What do you see instead?

Expected: bomb shoots through the particles at a roughly constant speed
Actual: bomb slows to a complete stop when it hits the group of particles, and 
then shoots off at its original velocity when it finally gets clear of them

I haven't had a chance yet to verify whether similar things happen in the C++ 
version, but I will soon - this used to happen with one of the old versions of 
the CCD algorithm, so I'm not sure whether it's a JBox2d bug or a general 
limitation of the algorithm.

Original issue reported on code.google.com by ewjor...@gmail.com on 10 Jul 2011 at 4:49

GoogleCodeExporter commented 8 years ago
I've just confirmed that this behavior is present in the C++ version of the 
engine and filed a bug report, so I'm closing this as WontFix for the moment; 
if it's fixed there, we'll pull the changes in as well.

See issue 220 at Box2d: http://code.google.com/p/box2d/issues/detail?id=220

Original comment by ewjor...@gmail.com on 10 Jul 2011 at 7:17