04-29-2024, 04:26 AM
Is it possible to deform a prefab with multiple LODs along a spline?
For example I have a tree root prop that I want to curve throughout the level. The prefab consists of the root mesh with several LODs, and a separate moss & leaves mesh with its own LODs.
When I make a Generator with a Deform Gameobject template, the result generates a new mesh that combines all the meshes and lods together into a single object which is then repeated along the spine. While I do want the prefab to be repeated, I dont want everything to be combined into a new mesh like this. Is there any way to preserve the LODs?
If the whole root needs to lod at once I can live with that, but ideally each repeating prefab piece would lod individually so that a very long root can lod in segments as it trails away from the camera.
For example I have a tree root prop that I want to curve throughout the level. The prefab consists of the root mesh with several LODs, and a separate moss & leaves mesh with its own LODs.
When I make a Generator with a Deform Gameobject template, the result generates a new mesh that combines all the meshes and lods together into a single object which is then repeated along the spine. While I do want the prefab to be repeated, I dont want everything to be combined into a new mesh like this. Is there any way to preserve the LODs?
If the whole root needs to lod at once I can live with that, but ideally each repeating prefab piece would lod individually so that a very long root can lod in segments as it trails away from the camera.