Hi all,
I'm struggling with editing/setting the curve point of an instanced Houdini curve. I've tried querying the HEU_HoudiniAsset, cooking, and then trying to add CurveNodeData points. Unfortunately without any success, but I've also since realized that I can't add or set them manually within the inspector either. Is there a specific approach I need to follow to manipulating this data?
Cheers!
Erik
[Question] - Editing CurveNodeData with C#
1601 2 0- erikrovio
- Member
- 2 posts
- Joined: Aug. 2019
- Offline
- erikrovio
- Member
- 2 posts
- Joined: Aug. 2019
- Offline
- anthonyt2
- Member
- 100 posts
- Joined: Dec. 2020
- Offline
Regarding changing CurveNodeData using C#: You probably need to recook the asset after changing the data. This can be done using HEU_HoudiniAsset.RequestCook(). Also, this was made easier to do in the Houdini 19 Unity plugin API update, where you can just call HEU_Curve::SetCurvePoint().
As for the issue where you are unable to set them in the inspector. I noticed this and I'll file it is a bug. You can still "drag" the values in the inspector though.
As for the issue where you are unable to set them in the inspector. I noticed this and I'll file it is a bug. You can still "drag" the values in the inspector though.
Edited by anthonyt2 - Nov. 2, 2021 15:27:01
-
- Quick Links