Page 1 of 1

setTransformSpace() on NodeAnimationTrack

Posted: Sat May 13, 2023 9:57 pm
by chilly willy

I have a rook hopping around on a chess board. It does not have skeletal animation so I use SceneNode animation to move it around. Since it can move in four directions and translations are relative to parent, I need four animations. If I had a ball that I wanted to bounce in arbitrarily many directions I would need arbitrarily many animations. Instead I would like to have a single animation specified in the node's local space and just point it in the direction I want it to go. I have submitted a PR: https://github.com/OGRECave/ogre/pull/2840