Link to .capx file (required!):
https://dl.dropboxusercontent.com/s/2e50axs10iflc0c/PreventRotations.capx?token_hash=AAGjpq9kGp7szmhPN0RpPv6bfgy-Gp3bz3-fRvc907y6Hg&dl=1
Steps to reproduce:
1. Give an object Physics behavior.
2. Click Object and put Prevent Rotations to "No".
3. Create a condition, for example, "On start of Layout"
4. Create Action : Turn ON "Prevent Rotations" via: Object> Physics> Prevent Rotations
Steps to reproduce 2(Alternative method):
1. Give an object Physics behavior.
2. Click Object and put Prevent Rotations to "Yes".
3. Create a condition, for example, "On start of Layout"
4. Create Action : Turn OFF "Prevent Rotations" via: Object> Physics> Prevent Rotations
Steps to reproduce 3(Alternative method):
1. Give an object Physics behavior.
2. Click Object and put Prevent Rotations to "No".
3. Create a condition "On Toched Object"
4. Create Action : Turn ON "Prevent Rotations" via: Object> Physics> Prevent Rotations
Observed result:
CocoonJS locks up/crashes when trying to switch rotation states.
Accelarated CocoonJS Physics - Game locks up with massive screen flicker or just locks up.
Web-based CocoonJS Physics - Black screen.
Error console gives a lengthy error message, including most notably:
"Object[object Object] has no method 'SetFixedRotation'
at Acts.SetPreventRotate(Physics_Behavior.js:14124:13)"
Expected result:
The game runs.
Browsers affected:
CocoonJS 1.4
Operating system & service pack:
CocoonJS 1.4 and Android 4.1.2
Construct 2 version:
R139
Will report this to Ludei as well.