Quantcast
Channel: Questions in topic: "moveto"
Viewing all articles
Browse latest Browse all 116

iTween MoveTo + Rotation?

$
0
0
Hello everyone. I'm using iTween's MoveTo to move my gameobject along a path and everything works fine. My problem is, the rotation of the gameobject stays the same while he is moving along the path. I want him to rotate in the direction of the path. This is my line of code: iTween.MoveTo(gameobject, iTween.Hash("path", iTweenPath.GetPath("MyPath"), "time", 500)); Thanks!

Viewing all articles
Browse latest Browse all 116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>