SAM33 / jbox2d

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

Collision not always detected correctly #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Execute attached code

What is the expected output?
Both boxes land on the polygon

What do you see instead?
One box warps through the polygon

What version of the product are you using?
jbox2d 2.1.2.1

On what operating system?
mac osx

Please provide any additional information below.
I already wrote in the forums 
(http://www.box2d.org/forum/viewtopic.php?f=9&t=8067) but this is probably a 
bug.

Original issue reported on code.google.com by max.trocha on 14 Jan 2012 at 12:22

Attachments:

GoogleCodeExporter commented 8 years ago
This problem btw does not exist in the c++ implementation of box2d and is still 
present in svn rev 558 of jbox2d.

Original comment by max.trocha on 15 Jan 2012 at 1:52

GoogleCodeExporter commented 8 years ago
Taking a look into this

Original comment by toucansa...@gmail.com on 15 Jan 2012 at 4:26

GoogleCodeExporter commented 8 years ago
Fixed in rev 562.  Caused by incorrect centroid calculation in the polygon 
shape.  Thanks max!

Original comment by toucansa...@gmail.com on 16 Jan 2012 at 1:34

GoogleCodeExporter commented 8 years ago
This fix caused a regression, see issue #32

Original comment by lekenst...@gmail.com on 14 Jan 2013 at 5:06