Box2d asm.js physics set_m_torque error
Link to .capx file :
box.com/shared/static/7bgwepnaqndyp87ae5s9.caproj
Steps to reproduce:
1. Select Box2d asm.js on Project Settings
2. Create a sprite and enable physics
3. Select "Disable Rotation" in physics behaviour for sprite.
4. Create a touch event and on touch, enable the rotation behaviour.
Observed result:
Error occoured with an alert "Object #<R> has no method set_m_torque
at Physics_behaviour.js on line 2319 col 13
Expected result:
No error
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: NA
Operating system & service pack:
Windows 7 ultimate x64
Construct 2 version:
158.2 64bit