Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Curvy in Prefabs
#3
Hi,
I did the simple test of making a prefab of a generator (including the generated mesh gameobject), and then modifying the prefab. The generated mesh being part of the prefab, the scene was not modified. So you can modify prefabs without having to modify the scene. Your use case being more complicated than this simple example, I might have missed something.

Here is more information that might help you:
  1. You can export the generated mesh as an asset using the export tab: https://curvyeditor.com/documentation/generator/modules/createmesh?#export
  2. If you need 50 copies of the same generator, generating the same mesh, then you should have only one generator which result is copied 50 times
  3. The Volume Mesh module has a split option that allows to subdivide the generated volume into smaller parts. That helps if you want to modify a small part without having to regenerate the whole mesh: https://curvyeditor.com/documentation/generator/modules/volumemesh?s[]=split#general
  4. About the DontSave flag, there is nothing in the UI that allows that, but you can modify the code for that. A good starting point would be CreateMesh.writeVMeshToMesh method
  5. If a generator in a prefab tries to remove a gameobject (for example one of multiple meshes it is generating), Unity does not allow it to do so. You will then have an error message and the object will not be removed.
Please let me know if you need more information
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


Messages In This Thread
Using Curvy in Prefabs - by kleptine - 03-25-2020, 01:26 AM
RE: Using Curvy in Prefabs - by kleptine - 03-25-2020, 03:24 AM
RE: Using Curvy in Prefabs - by _Aka_ - 03-25-2020, 04:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 1 2 Yesterday, 10:23 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 1 1 Yesterday, 10:12 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 4 03-27-2024, 07:25 AM
Last Post: amutp
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 0 7 03-27-2024, 03:23 AM
Last Post: _Aka_

Forum Jump: