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 8.2.0 is live _Aka_ 0 5 04-26-2022, 02:09 PM
Last Post: _Aka_
Exclamation Runtime error when using Curvy Generator with Game Object Deform studentloan 3 10 04-22-2022, 09:00 PM
Last Post: _Aka_
Bug No demos running without exception with IL2CPP with Curvy Spline 8 studentloan 10 14 04-22-2022, 08:52 PM
Last Post: _Aka_
Information Curvy 8.1.0 is live + 50% discount _Aka_ 0 5 04-13-2022, 04:26 PM
Last Post: _Aka_

Forum Jump: