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
  Trying to create a moving train that slows and stops at stations Novian 11 4,119 12-12-2019, 06:40 PM
Last Post: _Aka_
  Curvy not appearing in Unity 2019.2.14f1 bmacdonald1986 3 211 12-12-2019, 11:40 AM
Last Post: _Aka_
  Reuse Curvy Generator Wanderfalke 4 208 12-06-2019, 12:06 PM
Last Post: Wanderfalke
  Import splines from GeoJson Qpid36 4 325 11-22-2019, 03:45 PM
Last Post: _Aka_

Forum Jump: