fcantet
May 11, 2020 04:14:07
Hello,
I'm looking for a way to have an undefined number of curve inputs display in Unity. Is there a way to achieve something like this?
As exemple, I'm creating a tree HDA based on curves. I would like to have one main curve for trunk, and the possibility to add additionals curves to shape the branches. But the number of branches is not a constant.
Thank you,
FĂ©lix Cantet
seelan
May 19, 2020 09:37:35
Perhaps try with multiparm input?
fcantet
May 21, 2020 11:16:01
Thanks !
Do you think I will be able to expose and edit this curves in Unity side ?
I will try this, thank you !
Have a nice day
fcantet
May 21, 2020 12:55:17
I found a way to achieve this by using two HDA asset. The first that contain only one curve, and the second have an Object Merge exposed in the HDA asset. This way, I could input in Unity side the HDA curves with input set to “HDA”, and process what I want from this input curves.
I found the solution here :
https://www.sidefx.com/forum/topic/57861/#post-259141 [
www.sidefx.com]