Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curvy to create splines from 3D models
#1
There is a section of the subway tunnel with wires 10 meters long. We need to place it on the curve. Is it possible using Curvy to create splines from 3D models or is there some other way to do this?
Reply
#2
It is possible to do that by using the API. The global idea is the following: Supposing that your wire's mesh is tube like, and has X vertices at each section:
- Create a spline
- loop through the wire's vertices, by increment the index by X for each iteration, and in each iteration add a Control Point at the position of the current vertex.
This is the global idea, you will probably need to tweak it to better fit your needs.

I hope this helped.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Splines as/in ScriptableObjects Najati 1 3 06-05-2022, 11:12 AM
Last Post: _Aka_
  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_

Forum Jump: