Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pre-sale question: prefab mesh deformation along spline
#1
Pre-sale question.

Is it possible to instantiate a prefab along a spline. Say, I have one unit of a train track (custom made model, not a spline profile). Is it possible to instantiate it so they are deformed and connected along the spline?

For instance, using a piece of track like these:

https://www.assetstore.unity3d.com/en/#!/content/35648

(just one small rail element)

To create a curved and connected object like this:

http://forum.unity3d.com/attachments/min...pg.161243/

Rod
Reply
#2
Mesh deformation isn't in yet, but you can create the mesh using a Curvy Generator like we did in our rail examples you might have seen in the videos.
Reply
#3
Hi,

Is there any timeline on when this feature will be in? I sort of assumed that was what was meant by "mesh extrusion", since building meshes by hand using splines seems like... a not very efficient way to make a game, to say the least.

Thanks!
Johnnemann
Reply
#4
Ehm, with mesh deformation I've meant stretching/squeezing etc. given prefab meshes. Stuff like rails can be done with classic shape extrusion and poles, banks and other prefab models can be placed with the Curvy Generator as well. So yes, you can do railtracks with Curvy.
Reply
#5
Ahh, cool, thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 7 1,249 07-13-2025, 07:11 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 269 06-09-2025, 06:49 PM
Last Post: _Aka_
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 248 06-07-2025, 09:44 AM
Last Post: _Aka_
Information Spring Sale: -50% _Aka_ 0 269 04-19-2025, 10:58 AM
Last Post: _Aka_

Forum Jump: