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.


Topics - abe

Pages: [1]
1
DOTween & DOTween Pro / Use speed instead of duration.
« on: August 25, 2015, 11:53:36 AM »
Hello. Is it possible to use speed instead of duration in Dopath method?

2
DOTween & DOTween Pro / Orientation "To path" and DoPath method
« on: August 22, 2015, 04:32:27 PM »
Hello. Is it possible to use orientation to path and DoPath Method?

3
DOTween & DOTween Pro / Add Dotween path programmatically
« on: July 30, 2015, 08:03:55 PM »
Hello i tried to add DOTweenPath component programmatically but it does not work . Here is my code
var oldPath = GetComponent<DOTweenPath> ();

      var newPath = (DOTweenPath)newObject.AddComponent <DOTweenPath>();

      //tween options
      newPath.autoKill = oldPath.autoKill;
      newPath.autoPlay = oldPath.autoPlay;
      newPath.duration = oldPath.duration;
      newPath.delay = oldPath.delay;
      newPath.easeType = oldPath.easeType;
      newPath.easeCurve = oldPath.easeCurve;
      newPath.loops = oldPath.loops;
      newPath.loopType = oldPath.loopType;

      //path options
      newPath.pathType = oldPath.pathType;
      newPath.pathResolution = oldPath.pathResolution;
      newPath.isLocal = oldPath.isLocal;
      newPath.isClosedPath = oldPath.isClosedPath;
      newPath.orientType = oldPath.orientType;
      newPath.lookAhead = oldPath.lookAhead;

      //waypointes
      newPath.fullWps = oldPath.fullWps;
      newPath.wps = oldPath.wps;
      newPath.wpsDropdown = oldPath.wpsDropdown;



      newPath.DOPlay (); //nothing happens
      oldPath.DOPlay (); // it works

4
DOTween & DOTween Pro / Move object towards the path to position.
« on: July 29, 2015, 06:17:45 PM »
Hello. How to do next steps using DoTweenPro
1)Add gameobject .
2)Add DoTweenPath component to it.
3)Start the tween.
4)Stop the tween on event (click for example).
5)Move gameObject to Position on the path.
6)Move gameObject forward\backward x points towards the path.
7)Start the tween again.

I have no idea how to do item 5 and 6. Thank You for help.

Pages: [1]