07-08-2019, 09:33 AM
(This post was last modified: 07-08-2019, 09:41 AM by UsernameHed.)
Hello it's me again
I have 2 little question:
1) About the CurvyGenerator, I would like to Move the CreateMesh Outside de main parent, and keep the link wiht the Curvy Generator:
Then, put the Tag [EditorOnly] on the CurvyGenerator Object, for saving performance in build (in the build, I want only the mesh)
But when I do, in the CurvyGenerator Graph editor it is no longer present:
And when I try to relink it again, it does'nt work...
From the inspector in the field VolumeMesh>Slots>VMesh, it say in the console
"[Curvy] Linking modules from the inspector isn't supported yet! Use the Graph editor instead!"
and from the graph, I just can't add it any more.
EDIT: For relinking it I have to: close the graph editor, then move the Create Mesh as child of the CurvyGenerator, and then open the graph again to relink it. So it seems to keep the link the first time I move CreateMesh from outside, but as soon as I open the graphEditor, I have to manyally do this trick
2) A realy quick question about the Event of the Curvy Spline:
If I want to trigger an event when the spline is changed (add/delete controle point, OR just move a controlPoint), it seems like the event OnAfterControlPointChanges seems the right one, but in the documentation it's say only for add/delete point, not for move. Does it trigger also for moving a control point ?
Thanks you
I have 2 little question:
1) About the CurvyGenerator, I would like to Move the CreateMesh Outside de main parent, and keep the link wiht the Curvy Generator:
Then, put the Tag [EditorOnly] on the CurvyGenerator Object, for saving performance in build (in the build, I want only the mesh)
But when I do, in the CurvyGenerator Graph editor it is no longer present:
And when I try to relink it again, it does'nt work...
From the inspector in the field VolumeMesh>Slots>VMesh, it say in the console
"[Curvy] Linking modules from the inspector isn't supported yet! Use the Graph editor instead!"
and from the graph, I just can't add it any more.
EDIT: For relinking it I have to: close the graph editor, then move the Create Mesh as child of the CurvyGenerator, and then open the graph again to relink it. So it seems to keep the link the first time I move CreateMesh from outside, but as soon as I open the graphEditor, I have to manyally do this trick
2) A realy quick question about the Event of the Curvy Spline:
If I want to trigger an event when the spline is changed (add/delete controle point, OR just move a controlPoint), it seems like the event OnAfterControlPointChanges seems the right one, but in the documentation it's say only for add/delete point, not for move. Does it trigger also for moving a control point ?
Thanks you