]> git.mxchange.org Git - simgear.git/commit
Extend locked-track animation to support a slave element.
authorThomas Geymayer <tomgey@gmail.com>
Sun, 28 Apr 2013 21:46:21 +0000 (23:46 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 28 Apr 2013 21:46:25 +0000 (23:46 +0200)
commit0fa23b83e66f02b43a979f2ef9c8b73a359e98a1
tree6176172866a04b40b7f18155803179e5d5097f2c
parente53c71543aaab8c82ffef377bc55c5563ff8e165
Extend locked-track animation to support a slave element.

This allows tracking elements while at the same time changing the
rotation of both animated elements to fill the available distance
to the target element. This allows for example animating gear
scissors or other connected objects like gear doors and their
actuators/arms (possibly connected to the gear strut).
simgear/scene/model/SGTrackToAnimation.cxx
simgear/scene/model/SGTrackToAnimation.hxx
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx