Comments (5)
Hi,
I'm not sure what you mean with "move by path like in iTween". A DOPath returns to the origin position only if the last waypoint coincides with that, if you use SetOptions to close the path, or if you set a Yoyo loop with even cycles. Those are all customized options, otherwise the path ends where the last waypoint is.
Also, as far as I know, DOTween (as HOTween before it) has more path movement features than iTween, so everything you did there you should be able to do here.
Let me know what you meant with more details.
Cheers,
Daniele
from dotween.
Heads up: didn't get any reply in 8 days, so unless I get one I'm gonna close this issue after 2 more days or so.
from dotween.
Closing this issue since I didn't receive any additional information
from dotween.
sorry for the late reply. i am busy these days.
DoPath is ok. It work as I wish and no loop.
I recheck my original code.
I use one gaussian curve as the ease cure in the following code, so the cube will return to the path origin.
It is my fault.
Now we are using Dotween happily. Thank you for your great software.
Sequence mySequence = DOTween.Sequence();
var dir = new Vector3(1f,0f,1f).normalized;
Vector3[] ps= new Vector3[2];
ps[0]=target.position + dir*3f ;
ps[0].y+= 3f;
ps[1] = target.position + dir*6f;
mySequence.Append(target.DOPath(ps,1f,PathType.CatmullRom).SetEase(curve).SetOptions(false).SetLoops(0));
from dotween.
Thank you for the update, and glad all it's working :)
from dotween.
Related Issues (20)
- OnComplete problem (again of course) with singleton classes
- How to make OnUpdate and ChangeEndValue work properly?
- Index out of range error
- Startup errors not giving detailed warnings when default logging enabled
- DOComplete -> TweenManager.FilteredOperation: IndexOutOfRangeException (Possibly related to SetTweensCapacity?)
- [Feature Request] Assembly Definition & Version Define Resource HOT 1
- The DOTweenPath won't rotate or move with the parent
- WaitForCompletion stuck on recycled tween
- Can Dojump use endvalues ββthat change in real time?
- DoPath - Change waypoints during tween is running
- Combining Eases HOT 1
- UI Tweening works unreliably HOT 7
- NaN Input Error HOT 2
- Upgrading to Unity 6 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
- SetDelay is appending interval between two tween Joined in sequence HOT 2
- DOTween adds 2.7MB to WebGL build HOT 1
- Is DOJump not supported for Kinematic 3D Rigidbodies?
- Unity using DOTween pro UI creates ghost effect HOT 5
- Does not support the latest 6 preview?
- Demo link is no longer operational
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotween.