08-19-2024, 07:41 PM
Hi all,
Hoping someone could possibly give some baby steps on how to achieve something.
I've done it once, but I think it was purely experimenting and I can't remember how to do it!
In short I have a mesh which has been subdivided, say, 20 times, think a sheet of paper.
What I'm trying to do is create a spline with curves, and as I translate the mesh along the spine, the mesh bends accordingly.
I only need one instance of the mesh, I don't need in stretching, nor do I need it repeating several times (think the barbed wire example).
I've looking at the examples, and I've seen the "DeformMesh" script, but each time I add that to my mesh, I get an error saying "Object reference not set to an instance of an object FluffyUnderware.Curvy.Generator.CGModuleOutputSlot.LoadLinkedSlots", and I'm wondering if there's an order to add things.
However, I have had an instance where I got exactly what I wanted, tried to recreate it, and failed.
I can get my mesh on a spline and change the position and have it move along the spline fine, but deforming it along the spline I just can't seem to replicate.
Just some very basic baby steps would be a huge help.
Hoping someone could possibly give some baby steps on how to achieve something.
I've done it once, but I think it was purely experimenting and I can't remember how to do it!
In short I have a mesh which has been subdivided, say, 20 times, think a sheet of paper.
What I'm trying to do is create a spline with curves, and as I translate the mesh along the spine, the mesh bends accordingly.
I only need one instance of the mesh, I don't need in stretching, nor do I need it repeating several times (think the barbed wire example).
I've looking at the examples, and I've seen the "DeformMesh" script, but each time I add that to my mesh, I get an error saying "Object reference not set to an instance of an object FluffyUnderware.Curvy.Generator.CGModuleOutputSlot.LoadLinkedSlots", and I'm wondering if there's an order to add things.
However, I have had an instance where I got exactly what I wanted, tried to recreate it, and failed.
I can get my mesh on a spline and change the position and have it move along the spline fine, but deforming it along the spline I just can't seem to replicate.
Just some very basic baby steps would be a huge help.