Demigiant Forum
Unity Assets => DOTween & DOTween Pro => Topic started by: lapoune on February 03, 2016, 06:33:00 PM
-
Is it possible to have the object rotate when between nodes? Like a plane banking in a turn?
Thanks
-
While I assume the answer to your question is "yes", it's a little vague to be sure. If you could provide some more details regarding exactly what it is you're trying to do you'll likely get a more helpful response.
For instance, is the object in question already being tweened between 2 positions and you simply want to rotate it as a function of where it is in the motion tween? If that's the case, I'd think you could accomplish that with a Sequence, consisting of something line this:
DOTween.Sequence()
.Join(yourTrans.DoMove(...))
.Join(yourTrans.DoRotate(...))
However, based on unknown details, that may be way off base for your needs.
Jeff