21
DOTween & DOTween Pro / DoTween Path related questions
« Last post by christianstrang on June 14, 2016, 11:39:09 PM »Hello
I fiddled around with DoTween Path and have accumulated a couple of questions:
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?