Undefined curves number in HDA

   270   3   0
User Avatar
Member
6 posts
Joined: May 2019
Offline
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
User Avatar
Staff
544 posts
Joined: May 2017
Offline
Perhaps try with multiparm input?
User Avatar
Member
6 posts
Joined: May 2019
Offline
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
User Avatar
Member
6 posts
Joined: May 2019
Offline
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]
  • Quick Links