Problem Description
Revolute joint in asm.js connects objects with a less force then in box2dweb
Attach a Capx
[attachment=2:3ms22n2z][/attachment:3ms22n2z]
[attachment=1:3ms22n2z][/attachment:3ms22n2z]
Description of Capx
2 Absolutely identical capx, same events, objects, the only difference is the physics engine.
1.capx - box2dweb
2.capx - asm.js
Steps to Reproduce Bug
- Open 1.capx, run preview, see everything is fine, the object (let's call it a car) hits triangle and then fall
- Open 2.capx with asm.js, run preview, when a car falls, triangle pierces car between the wheel and the base.
- Notice that in asm.js the revolute joint is very weak, or at least weaker than in box2dweb
Observed Result
Triangle pierces car between the base and the wheel, wheel moves away from the base, and my game that using revolute joints is ruined, when i hit the floor on a "car" powered by asm.js physics it's base hits the ground at full force, but it's base should never move away from wheels and must never hit the ground, sometimes other "funny" incidents happen (see attached screenshot).
That happens only in asm.js, if i use box2dweb everything is ok.
Expected Result
Triangle must not pierce the car, and wheel should never move away from the base, like in box2dweb.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 7, 8.1 with updated everything
Construct 2 Version ID
r196 or r196.2