Link to .capx file (required!):
new project with pathfinding on sprite
Steps to reproduce:
1. create sprite with pathfinding behavior (default setup)
2. make it follow on path to mouse position
Observed result:
1. When you click mouse anywhere on game screen to find path for the first time, sprite will folow the path correctly.
After that, on every click sprite will shake for a fraction of a sceond and then move. I't very clear when you turn off Rotate object.
2. Rotate object set to OFF. Again it works fine with first click.
On each next click in front of a sprite (blue square) sprite will shake too but will move instantly.
But when you click somewhere behind the sprite (on the red square) it will shake, wait short period of a time and then move.
<img src="http://dl.dropbox.com/u/34375299/Construct%202/bugs%20and%20fixes/path.PNG" border="0" />
The wait time is equal to Rotate Speed. So it's like sprite at first is rotating and then when rotation is finished it will move. But this rotation is false. Sprite angle is at 0 all the time but it will wait Rotate Speed time before movement.
Expected result:
Move sprite smoothly regardless of any settings.
Move sprite instantly when Rotate Object is set to off
Browsers affected:
Chrome: yes
Firefox: no
Internet Explorer: no
Operating system & service pack:
Win 7 64 Sp1
Construct 2 version:
r120