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
Information New free asset: Converter For Unity Splines _Aka_ 15 45 Yesterday, 07:36 AM
Last Post: _Aka_
  Twisting Splines ZiggZagg 6 11 05-14-2024, 04:48 PM
Last Post: _Aka_
  Help with procedural roads and splines ramiroflores 1 6 05-07-2024, 08:57 AM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_

Forum Jump: