Link to .capx file :
https://www.dropbox.com/s/6b0lqvb8zb6cejh/bugPathFinder.capx
Steps to reproduce:
1. create a sprite with pathfinding
2. during execution, change sprite angle
3. calculate path/move along path
Observed result:
The sprite angle is reinitialized to its spawning angle before moving.
Expected result:
The sprite should start moving using its current angle.
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes
Operating system & service pack:
Windows 7 SP1
Construct 2 version:
r136
------
Some personal observations after research in the behavior code, the problem is that the a variable (the angle of the object, store into the behavior) is set on creation of object, and then used in the tick function when isMoving is set to true (starting moving), if the rotation is allowed of course.
But the behavior never calls runtime.add_bbox_changed_callback, never updating its inner angle (a), making it believe it never rotated, even if the sprite (or any over draw-able object in fact) called setAngle
Hope this helps.