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 - christianstrang

Pages: [1]
1
DOTween & DOTween Pro / DoTween Path related questions
« on: June 14, 2016, 11:39:09 PM »
Hello :)
I fiddled around with DoTween Path and have accumulated a couple of questions:

  • If I have a DoTween Path Script Component on my object, everything works fine, but if I put the path on an empty gameobject, how can I make my object follow the path on the empty gameobject?
  • I'm using DOTween.timeScale to reverse the move direction on a button press (to create a feeling of reverse gravitation). This works fine for closed paths that run endless, but if I have a linear path (just two waypoints), once my object reaches the end, I can't reverse it anymore. Is there a way avoid this, basically instead of ending the path at the last waypoint, set the timescale to 0?
  • I'm setting the path position of my endless paths with DOTween.GotoAll(5000, true); this works but I would rather just use DoTween.Goto for only the path component attached to my object, this function doesn't seem to work though, any ideas?

Pages: [1]