- Home /
Is there an iTween rotate around ?
Hi,
I am wondering is there is an iTween rotate around function somewhere. I can't find any official or unofficial system like that. BAsically, I find myself stuck and having to hack things around to implement a simple RotateAround with iTween.
Maybe I am missing the obvious. But I have no other choice so far to actually parent the gameObject I want to rotate and then use iTween with that parent. While this completly acceptable in theory, in practice, for my case, it's clumsy...
Thanks for any hints.
Jean
I don't believe there is any such function in iTween. Like you said, you'd probably have to keep it parented and then use the 'isLocal' parameter or 'space' parameter for the hash table depending on which rotate function you're utilizing.
Answer by aditya_patel · Nov 16, 2015 at 12:14 PM
Try this. iTween.RotateAdd(gameObject, iTween.Hash("amount",new Vector3(36f,0,0), "time", 0.5f, "oncomplete", "checkLevel"));
Your answer

Follow this Question
Related Questions
How to Rotate Around obj with iTween 0 Answers
using iTween.ValueTo for the rotation of a GameObject with RotateAround 1 Answer
Moving Over Terrain with iTween 1 Answer
iTween not being recognized? 1 Answer
iTween and texture problem 0 Answers