Demigiant Forum
Unity Assets => DOTween & DOTween Pro => Topic started by: GregTheCoder on December 07, 2015, 02:27:18 PM
-
Like in topic: when i'm trying to change timescale of Tweener returns by DOPath, nothings changing. I must add that its not working after Tweener.Play(), but when its change before or in same Update its working... But i need to change it few times on path.
-
Hi,
I'm working on a project right now where I manipulate DOPath's timeScale a lot, and everything works correctly here. Are you sure you're not setting the timeScale back to its original value somewhere else in your code after Update?
Cheers,
Daniele
-
Sorry it was my mistake - had two same-name fileds and initializing only local.
But now i have bigger problem! Unity is crashing when im using SetLookAt :(
-
Ok, after many tests i done what i want. But strange thing is that i need to set "up" argument (in SetLookAt(...)) to Vector3.right... (?)
-
Not sure about the up argument. You mean SetLookAt is crashing unless you set that to Vector3.right? This would be the first time I hear this, and it is very weird. Could you show me more of what you're trying to animate (even an animated gif would be interesting) and the code you're using?