05-04-2014, 03:46 PM
hi all this possible to move Dynamics object along the curve
|
Dynamics object along the curve
|
|
05-04-2014, 03:46 PM
hi all this possible to move Dynamics object along the curve
05-05-2014, 06:39 AM
Sure, just add the FollowSpline component to the object you want to move along a spline.
05-06-2014, 12:34 PM
(This post was last modified: 05-06-2014, 01:02 PM by SergeantPixelShotgun.)
thank's yes i have add that's
CurvySplineSegment[] sp = mSpline.Add (vv); when i try sp[1] for transform position i say somethink's i try understand the doc it's possible to set the % follow value for get dynamic gravity at end it's possible to get % of follow curve for the the dynamic more realistik
05-06-2014, 01:12 PM
I'm sorry, but I don't understand this.
05-06-2014, 01:24 PM
(This post was last modified: 05-06-2014, 01:24 PM by SergeantPixelShotgun.)
if (mSpline.Count > 1) { Walker.enabled = (true);
float pos = Walker.CurrentTF ; Debug.Log ("pos "+pos /Walker.Initial.MaxDistance); if (Walker.Initial.MaxDistance/pos > 0.9f){ Walker.enabled = (false); } }else{ Walker.enabled = (false); } ok i will be back with better explain to my trouble thank's |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Create Game Object Renaming Options | rickgplus | 1 | 449 |
09-23-2025, 09:33 AM Last Post: _Aka_ |
|
| Morph game object along curve. | mikechr2000 | 5 | 2,097 |
02-04-2025, 09:30 PM Last Post: _Aka_ |
|
| Scaling a closed curve | rickgplus | 1 | 1,048 |
01-16-2025, 06:52 PM Last Post: _Aka_ |
|
| Extrapolate past curve endpoint | Madgvox | 3 | 1,672 |
09-10-2024, 01:24 PM Last Post: _Aka_ |
|