When I use the method with a dynamic body the game crash on all platforms.
Flash player said this:
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
at box2D.dynamics::B2Body/resetMassData()[C:\HaxeToolkit\haxe\lib\box2d/1,2,0/box2D/dynamics/B2Body.hx:721]
at box2D.dynamics::B2Body/setFixedRotation()[C:\HaxeToolkit\haxe\lib\box2d/1,2,0/box2D/dynamics/B2Body.hx:1004]
When I use the method with a dynamic body the game crash on all platforms. Flash player said this:
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at box2D.dynamics::B2Body/resetMassData()[C:\HaxeToolkit\haxe\lib\box2d/1,2,0/box2D/dynamics/B2Body.hx:721] at box2D.dynamics::B2Body/setFixedRotation()[C:\HaxeToolkit\haxe\lib\box2d/1,2,0/box2D/dynamics/B2Body.hx:1004]