12-04-2019, 09:54 AM
Hey,
Is it possible to have one simple generator and create multiple meshes from it by changing the spline by code, setting everything to dirty and calling refresh?
If the spline changes, I could update by removing the mesh, plugging in the spline, and refreshing the generator.
My question is if this would work and if it would be performant.
The created game objects for example, I would need to manually handle the pooling I guess.
Thank you in advance for your help :-)
Is it possible to have one simple generator and create multiple meshes from it by changing the spline by code, setting everything to dirty and calling refresh?
If the spline changes, I could update by removing the mesh, plugging in the spline, and refreshing the generator.
My question is if this would work and if it would be performant.
The created game objects for example, I would need to manually handle the pooling I guess.
Thank you in advance for your help :-)