Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create mesh along spline
#1
Hello,

I've recently bought your plugin from the Asset Store and I've seen some features of Curvy in those demos shipped along with it.
Is it possible to create a spline, then have a cylinder mesh stretch/grow along the path somehow?

Thank you in advance for the reply.
Reply
#2
Yes, this is possible. To have a cylinder extrude along a spline you'll need at least a custom Start Mesh (Halfsphere's aren't builtin yet), then you can animate the FromTF and ToTF parameter to dynamically define the length of the extrusion. For performance reasons I would use a FixedF extrusion (it's usually the fastest). Adaptive results in less vertices, but requires more calculations.

Jake
Reply
#3
(08-06-2013, 11:40 AM)'Jake' Wrote: Yes, this is possible. To have a cylinder extrude along a spline you'll need at least a custom Start Mesh (Halfsphere's aren't builtin yet), then you can animate the FromTF and ToTF parameter to dynamically define the length of the extrusion. For performance reasons I would use a FixedF extrusion (it's usually the fastest). Adaptive results in less vertices, but requires more calculations.

Jake



 
How is a custom mesh created?

EDIT: I mean, how is a custom mesh created for the mesh builder's Start Mesh and End Mesh variables?  I created a mesh in Blender, imported it into Unity, and assigned it to both the Start Mesh and End Mesh variables and the mesh builder creates a mesh that appears to have edges connecting the wrong vertices.

Thanks,

 
Reply
#4
Please see here!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Deform mesh on the spline Nico_CL 3 103 10-09-2019, 04:10 PM
Last Post: _Aka_
  Best practice for mass-object instancing along 100km spline (railways) plus streaming bs@vectorvision.de 10 507 09-24-2019, 03:42 PM
Last Post: _Aka_
  Invert the spline points ? UsernameHed 1 97 09-21-2019, 03:22 PM
Last Post: _Aka_
  Extrude custom mesh along a path CesarGenera 3 167 09-19-2019, 04:47 PM
Last Post: _Aka_

Forum Jump: