Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transitioning or blending two mesh extrusions
#7
Hi
Sorry for the delayed answer.

(10-10-2023, 07:34 PM)SomeGuyEight Wrote: I am working on the cavern spline portion next. The main issue I am having is setting up multiple cross shapes for a spline to transition through. I have to turn optimization off, but when I combine multiple variable shape modules, it is quite a bit of work to get them all plugged in. It ‘works’ currently, but I have to make multiple prefabs and restrict my cavern length in control points to the number I have in each prefab. Is there an easier way to get multiple cross shapes on a spline?


Without using the Variable Shapes module, what you can do is to use the same shape and then apply a variable scale (see the Scale tab of the Shape Extrusion module). But then, your tunnel will have the same shape all the time, which I guess is not what you want. In this case, you can maybe process the generated mesh afterwards, to add some noise to the tunnel's mesh to simulate a rugged/varying surface.

If you want to keep using the Variable Shapes module, then know that you can make a script that can take a list of shapes as an input, and then generate/modify a generator that has all the neededed modules created and connected. The infinite track example scene has a script that updates the generator at runtime, you can take inspiration from it.
Also, maybe the shapes can be generated by a script too, instead of making them yourself into prefabs?

(10-10-2023, 07:34 PM)SomeGuyEight Wrote: I attached two quick sketches. One shows the lateral view of the spline I can create. The second is how I have to set up the curves in the variable shape modules. I am nesting multiple variable shape modifiers together and shifting their weight out. When I nest them, the right shape comes through each time when it transitions. I need to manipulate the cross at each cp, because I have a randomly generated volume that builds the cross sections of the cavern. The volume has to match the surrounding generated caves.
Not sure to understand what issue you are describing here. Can you please explain to me what is the problem this paragraph describes?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: Transitioning or blending two mesh extrusions - by _Aka_ - 10-12-2023, 08:48 PM

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_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
  Not seeing mesh extended after following YT PaulM 1 3 02-02-2024, 12:01 PM
Last Post: _Aka_
  Trigger Zones along Spline Mesh dlees9191 1 5 01-05-2024, 10:18 AM
Last Post: _Aka_

Forum Jump: