Open GoogleCodeExporter opened 9 years ago
I can confirm this issue. Is someone working on it?
Original comment by daniele....@gmail.com
on 9 Nov 2012 at 3:01
I too confirm this issue.
I found a work-around for this issue but I am not sure how far it would help
you out. But this worked-out for me :)
WORK-AROUND:
Set the value to the "restitution" property for fixture definition of all the
body in the box2d world to "0".
For e.g.:
var fixDef = new Box2D.Dynamics.b2FixtureDef();
fixDef.restitution = 0;
However, I don't believe that this is the apt solution.
Please try out this and let me know whether the work-around was helpful for
you.
Original comment by rahulvlu...@gmail.com
on 6 Feb 2013 at 7:13
This is an issue with Math.sin and Math.cos in the Android browser.
See this: https://code.google.com/p/v8/issues/detail?id=2234
Hack-ish workaround:
var mathSin = Math.sin;
Math.sin = function(a){
if (a === 0) return 0;
else return mathSin(a);
};
var mathCos = Math.cos;
Math.cos = function(a){
if (a === 0) return 1;
else return mathCos(a);
};
Original comment by lazarv1...@gmail.com
on 4 Aug 2013 at 9:34
Original issue reported on code.google.com by
threegar...@gmail.com
on 26 Oct 2012 at 9:38