ID:2489442
 
Not a bug
BYOND Version:512
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 75.0.3770.100
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
Working with glide_size i found that changing direction of atom that glides stops it's glide prematurely, while changing atom's icon isn't.
Seems trivial but worth to be mentioned

Numbered Steps to Reproduce Problem:
1.Change glide size to something slow
2.Change dir while glide animation occurs
3.glide animation breaks

Code Snippet (if applicable) to Reproduce Problem:
mob
glide_size = 1

client/Click()
mob.dir = pick(1,2,4,8)


Expected Results:
Atom changes it's dir without stopping glide animation prematurely

Actual Results:
Atom stops gliding animation prematurely upon dir change

Workarounds:
Changing icon_state doesn't break glide, but i don't think it's valuable workaround

This is the expected behavior of the default animate_movement = FORWARD_STEPS. If you want to enable "strafing" (facing a different direction than your movement), then use SLIDE_STEPS.
Kaiochao resolved issue (Not a bug)