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

How to set iTweenpath dynamically

$
0
0
Plz tell me how to set iTweenpath dynamically. Or it would also be nice if you tell me how to perform sequence of moves using iTween. **my code: this is not working || Log prompts like: no path with that name (positions) exists! Vector3[] positions=new Vector3[3]; positions[0]=new Vector3(18.5f,3.8f,1.6f); positions[1]=new Vector3(18.5f,4.8f,1.6f); positions[2]=new Vector3(18.5f,4.8f,2.6f); positions[3]=new Vector3(14.5f,4.8f,2.6f); iTween.MoveTo(players[1], iTween.Hash("path", iTweenPath.GetPath("positions"),"time", 8.0f));

Viewing all articles
Browse latest Browse all 116

Trending Articles



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