object merge node doesnt work in unity engine

   5113   2   0
User Avatar
Member
47 posts
Joined: May 2009
Offline
Hi,

I have a houdini asset that has two geometry objects. In the other one im using objectMerge node to fetch mesh from the other Geometry object but it doesnt seem to evaluate at all in unity.

Im new to unity and houdini engine so this might be user error.

What could be wrong?


thanks!
Kustaa
User Avatar
Member
402 posts
Joined: March 2013
Offline
Probably best to use an example asset that has this working. I attached such an example.

When you instantiate the example asset in Unity you should see a parameter in the Inspector called “Test Geo Input” under Houdini Asset OTL (Script) > Inputs. If you drag any other Houdini asset with geometry or a pure Unity mesh onto that parameter the weird looking text should be replaced with the input geometry with some point jittering applied to it.

If you open the asset in Houdini you'll see the Object Merge node in there. The only thing that needs to be done for it to show up in Unity is to promote its “Object 1” parameter to the asset's top level parameter via the Type Properties window.

Attachments:
HAPI_Test_AssetInputs_Geo.otl (18.1 KB)

User Avatar
Member
47 posts
Joined: May 2009
Offline
Thanks Damian,

after checking your otl i realized that my object merge node was using absolute paths to fetch from another geo:
“/obj/subnet1/originalGeo/OUT_geo”

changing it to relative fixed the original problem:
“../../originalGeo/OUT_geo”

i guess thats a basic thing to remember in otl/hda

Cheers
Kustaa
  • Quick Links