I have a sphere, that goes up and down in a loop. I’m doing it as following via iTween:
iTween.MoveTo(gameObject, new Hashtable
{
{"position", transform.position - new Vector3(0, 20, 0)},
{"time", 1},
{"easetype", iTween.EaseType.easeInOutSine},
{"looptype", iTween.LoopType.pingPong}
});
It works fine alright.
The problem is I can no longer move this sphere.
I want to move the sphere around my stage while it is going up and down.