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
  Move SplineController in rhythm of song electricpunch 10 182 05-16-2019, 09:02 PM
Last Post: _Aka_
  Curvy Coppy all points of a Spline Into Another UsernameHed 3 95 05-13-2019, 11:37 AM
Last Post: _Aka_
  Curvy Offset with Lerp UsernameHed 2 57 05-10-2019, 07:36 AM
Last Post: UsernameHed
Information Curvy 5.2.2 is live _Aka_ 0 60 04-30-2019, 11:00 AM
Last Post: _Aka_

Forum Jump: