Pathfinding stop does not clear path
____ When using the pathfinding behavior on a global sprite, when switching layout and calling Stop, debug shows pathfiniding Has Path is still true and speed is not 0.____
Attach a Capx
____ [attachment=0:24sw099q][/attachment:24sw099q] ____
Description of Capx
____ Moving a global sprite using the pathfinding and switching layouts. ____
Steps to Reproduce Bug
- Touch the screen to move the sprite (sprite will change color when speed is > 5 and reset when speed is back to 0.
- Press 1/2 on the keyboard to switch between layouts 1 and 2.
Observed Result
____ Calling Stop pathfiniding on the start of layout stops the sprite movement but the sprite is still playing the walk animation and has path=true, speed=200. ____
Expected Result
____ Stop should clear the path from the memory or should have another clear path action. ____
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
____ Windows 7 SP1 ____
Construct 2 Version ID
____ 168 ____