Fairen / box2dweb

Automatically exported from code.google.com/p/box2dweb
0 stars 0 forks source link

b2FixtureDef.isSensor = true dont fire contact events inside Adobe DPS #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new b2FixtureDef();
2. Set isSensor = true
3. Add the fixture to a KinematicBody
4. Test the application

What is the expected output? What do you see instead?
Expected: the BeginContact event/callback should fire when a DynamicBody hits a 
sensor KinematicBody.
I see: the dynamic body goes through the KinematicBody but no contact event is 
fired. Just inside the Adobe DPS platform. On iPad Safari's browser it works ok.

What version of the product are you using? On what operating system?
Adobe DPS v26
Box2dWeb: 2.1.a.3

Please provide any additional information below.
Since Adobe DPS is a very commom publish platform, I think you would like to 
know about this error. I saw this issue (29: 
https://code.google.com/p/box2dweb/issues/detail?id=29) and I will investigate 
if there is any relation about this MIN_VALUE. I tought Adobe DPS was using the 
ipad Safari's browser to display HTML content in  its magazines, but now im not 
sure.

Original issue reported on code.google.com by pedropau...@gmail.com on 13 May 2013 at 7:05

GoogleCodeExporter commented 9 years ago
Yes. The solution of Number.MIN_VALUE from the Issue 29 solved the problem.

Original comment by pedropau...@gmail.com on 13 May 2013 at 8:25