Search - User list
Full Version: [Question] - Editing CurveNodeData with C#
Root » Houdini Engine for Unity » [Question] - Editing CurveNodeData with C#
erikrovio
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
erikrovio
Bumping this question.
anthonyt2
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB