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
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 4 Yesterday, 07:25 AM
Last Post: amutp
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 0 4 Yesterday, 03:23 AM
Last Post: _Aka_
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 14 02-26-2024, 09:49 AM
Last Post: _Aka_
  Curvy in Unreal Engine SAMYTHEBIGJUICY 4 8 02-02-2024, 12:12 PM
Last Post: _Aka_

Forum Jump: