Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deform mesh on the spline
#1
Hello, how can i deform a mesh while is traveling through the spline? Example, the mesh is a cylinder, when it reach the green point it gets the same form as the mesh... Very similar to a train on rails, but its just a cylinder traveling through the spline... Thanks for any help


[Image: UIVs0W3.jpg]
Reply
#2
Hello
You can generate a deformed mesh, but can't deform an already existing mesh.
The deformed mesh is generated by extrusion, via the Curvy Generator. You can extrude one or multiple shapes along a path. Please see the following to see how it is done:
- Any example scene with an extruded mesh, scene "variable mesh extrusion" for example (not the exacte name, I don't have access to a computer right now to give you the exacte name, I am on vacation)
- https://curvyeditor.com/documentation/generator/start
- https://curvyeditor.com/documentation/ge...eextrusion
I hope this helped
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
(10-06-2019, 02:50 AM)_Aka_ Wrote: Hello
You can generate a deformed mesh, but can't deform an already existing mesh.
The deformed mesh is generated by extrusion, via the Curvy Generator. You can extrude one or multiple shapes along a path. Please see the following to see how it is done:
- Any example scene with an extruded mesh, scene "variable mesh extrusion" for example (not the exacte name, I don't have access to a computer right now to give you the exacte name, I am on vacation)
- https://curvyeditor.com/documentation/generator/start
- https://curvyeditor.com/documentation/ge...eextrusion
I hope this helped
Have a nice day

Hi... i created a generator, tried to do a cylinder, created a prefab, and after... tried to add it to the endless runner scene , but i can“t see it
, so with this generator mesh.. i could move as a snake through the spline path?

[Image: PhJP9tR.png]
[Image: yST1Z2E.png]
[Image: ljscUrD.jpg]
Reply
#4
Hello

Sorry for the late answer.

From my understanding, you are asking two questions
1- why the cylinder is not showing up
2- if you can move like a snake through the path

Here are my answers:

1-there can be multiple possible reasons for your issue. Please check that:
+ the prefab includes all the needed splines
+ no warning displayer in the generator modules
+ no warning or errors displayed in the console
If after all that you didn't find the issue, unpack the prefab instance and place it at the root of the scene (no parent object).

2- when extruding an object, the range parameter in the extrusion module can be used to define the part of the path the extrusion should apply on
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Constant speed along a spline? tfishell 1 189 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 3,316 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 4,741 07-13-2025, 07:11 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 1,860 06-09-2025, 06:49 PM
Last Post: _Aka_

Forum Jump: