Avindr / MxM-IssueTracking

7 stars 0 forks source link

Unexpected behavior with custom playback speed and events #98

Closed Avindr closed 3 years ago

Avindr commented 3 years ago
  1. Playback speed resets after events
  2. Animation warping and the event's timeline does not appear to be affected by the playback speed for some reason.
Avindr commented 3 years ago

The first part is fixed. It no longer will reset back to 1 after an event. Recommended to use 'UserPlaybackSpeedMultiplier' instead of PlaybackSpeed or DesiredPlaybackSpeed because sometimes events can change the latter two themselves.

Some additional work needed to fix no.2. There seems to be something wrong with the timing in events.

Avindr commented 3 years ago

Due to a bug in the event code the speed of animations during events was being set to speed^2. This doesn't make a difference at normal speed because 1f*1f = 1f;

This has now been fixed for MxM v2.2.8 and now events should behave as expected when time is scaled.