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
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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
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
  Spline object on a spline path ATHellboy 15 322 Yesterday, 12:17 AM
Last Post: _Aka_
  Changing Volume Mesh UV ATHellboy 2 60 02-20-2020, 05:43 AM
Last Post: ATHellboy
  Convert position of a point on a spline to another spline which is connected ATHellboy 5 106 02-17-2020, 12:17 PM
Last Post: _Aka_
  Mesh problem in generator after rotating control points ATHellboy 1 77 02-10-2020, 11:24 AM
Last Post: _Aka_

Forum Jump: