Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - oliverj777

Pages: [1]
DOTween & DOTween Pro / Change Duration - Path
« on: October 13, 2015, 12:35:24 PM »
I'm really struggling to find a way of changing my speed/duration on my path tween via script?

I'm really surprised theres no documentation on this particular call? There's documentation on how to retrieve such data, but not how to set it?

Am I missing something here?

DOTween & DOTween Pro / DOTween Path - Dynamically Change Values
« on: October 12, 2015, 11:01:57 AM »

This is my first time using DOTween, I'm currently using the Path Tween to move a space rocket around on loop. That's all set up correctly and is working fine. However, I want to be able to adjust the speed of the rocket (duration) dynamically via JS.

I've taken a look at the documentation for this, and honestly, I don't understand it? It seems far to complicated to do something fairly simple. I thought I could just do this:

dotweenObject.GetComponent.<DOTweenPath>.().TweenOptions.Duration = ##

Please advise, thanks.

Pages: [1]