Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create mesh along spline
#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


Messages In This Thread
Create mesh along spline - by lukasspro777 - 08-05-2013, 06:23 PM
RE: Create mesh along spline - by ScriptGeek - 08-28-2014, 05:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Heart Create beautiful curves ShiroeYamamoto 3 11 03-26-2024, 06:25 PM
Last Post: _Aka_

Forum Jump: