Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
move parallel to the path in curvy
#1
Can i make dynamic code  to spawn flys like my images with only 1 path?
(move parallel to the path)



my code:

inst = shapesPool.Spawn(this._Cube);
shapesPool.Spawn(_Cube).GetComponent<SplineController>().Spline = sppath;
sppath.Refresh();


[Image: anh1.jpg]
Reply
#2
Just answered this question by mail,but for everyone:

Either use the SplineController's offset, or parent the flies to a separate SplineController GameObject and offset transforms then.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy discards Input Spline Range VoltDriver 3 3 11-28-2023, 07:14 PM
Last Post: _Aka_
  Problematic Curvy API XtroTheArctic 8 23 10-16-2023, 08:41 AM
Last Post: _Aka_
  Curvy Splines Built In Editor Undo causes issues. Lupos 1 7 10-02-2023, 08:52 AM
Last Post: _Aka_
  Does Curvy has gameobjects pooling system function? Chanon 7 13 09-07-2023, 12:43 PM
Last Post: _Aka_

Forum Jump: