Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deforming prefabs with LODs along a spine
#3
Hi again,

Yes, it is possible to combine mesh deformation of multiple objects and LOD. This is how I would make it:

  1. Create a template generator that is setup to deform mesh along the needed path.
  2. Supposing you have 2 meshes, and 3 LODs each, make 6 instances of this generator, one for each LOD level/mesh combination. The difference between these generators will be the input mesh. Provide the correct mesh LOD for each generator.
  3. Export the result of your generators (see the "Save output to scene" button in the generator toolbar). This way you can delete the generators if you need to.
  4. Create 2 gamebojects having the LODGroup component: https://docs.unity3d.com/ScriptReference/LODGroup.html
  5. Setup the component to use the meshes from output of your generators.

I will try to make this process easier in the future, by providing for example a Create LOD GameObject, which would take multiple meshes as input, and generate a gameobject having a LODGroup using the given meshes. Any suggestion or feedback is welcome.

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


Messages In This Thread
RE: Deforming prefabs with LODs along a spine - by _Aka_ - 04-30-2024, 01:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CurvyConnections inside prefabs CoolUser 9 9,222 10-02-2024, 06:41 PM
Last Post: _Aka_
Bug Issues when working with in-place prefabs Sacryn 4 3,289 02-27-2024, 04:08 PM
Last Post: _Aka_
  Custom CurvySplineSegment prefabs Lupos 1 1,517 10-02-2023, 09:36 AM
Last Post: _Aka_
  Using Prefabs with transformations reset to original state when using Deform mesh danne_lindwall 3 2,489 04-28-2023, 01:35 PM
Last Post: _Aka_

Forum Jump: