sozi-projects/Sozi

Transitions along curved path go opposite turns

madavi78 opened this issue · 1 comments

Summary of your problem or feature request

I want to move a symbol between frames along path. I am using the option "Path Id" in section Transition. It works fine with straight paths, but with the curved ones, the transition seems flipped (see my animation) - instead of left turns, the animation goes right turns.

Version of Sozi and other relevant software

  • My Sozi version: Sozi-22.3.25-1648241936.AppImage
  • My Inkscape version: Inkscape 1.2 (1:1.2+202206011327+fc4e4096c5)
  • My OS: Kubuntu 20.04
  • Chrome version: 103.0.5060.114

Steps to reproduce the problem

I have layer with curved paths in separate layer in the original SVG file. I've renamed the Id of each path (path01, path02, path03), so I can use them in Sozi in the section Transition. Another layer contains the symbol (the smiley face), I want to move along these paths.

Expected behavior

If the path turns left, the animated layer should also turn left. If the path turns right, the animated layer should also turn right.

Observed behavior

The overall direction is OK, but the turns have opposite directions. If the path turns left, the animated layer turns right. If the path turns right, the animated layer turns left (see my attached demo).

path-test-sozi.sozi.webm
path-test-sozi-animation.zip

Maybe there is a misunderstanding. In Sozi, a transition path determines the movement of the camera.
It can be counter-intuitive if you are trying to animate individual objects.