CMO Animation Faces Wrong Way

Bug #966743 reported by Russ Adams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Asgard
Fix Committed
High
Sean Eubanks

Bug Description

Our CMO is facing the wrong way when she moves. You can reproduce this behavior by clicking to the left of the CMO. You see her start to walk leftwards, but her animation is walking rightwards.

Revision history for this message
Sean Eubanks (kkaos) wrote :

The CMO was "moonwalking". The main problem causing this issue was the use of world coordinates in computing the CMO's angle of movement, as opposed to its Drawable's Screen coordinates; this has been resolved. The algorithm for computing the angle of movement was also incorrect; this, too, has been resolved. Currently, angles are rounded to the nearest 45 degrees. With only Animations for moving east and west, angles of 0, 45, 90, and 315 degrees trigger the east-moving Animation; angles of 135, 180, 225, and 270 degrees trigger the west-moving Animation. It's not quite perfect, but the movement will look better once Animations for moving north and south are added.

Changed in asgard:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.