Cook Asset without GameObject/ MonoBehaviour

   2889   1   0
User Avatar
Member
3 posts
Joined: 2月 2015
Offline
Hello!
Currently to cook an asset 'once off' I create a temporary gameobject with a HEU_HoudiniAssetRoot/ HEU_HoudiniAsset, get the data I need (just a mesh in this case) and then destroy the gameobject.
Ideally I'd like to be able to cook an asset without creating this intermediate GameObject.
Is this feasible with the current api?

Thanks,
Myles
Edited by Myles Lambert - 2022年1月18日 00:55:58
User Avatar
Member
100 posts
Joined: 12月 2020
Offline
You always need the HEU_HoudiniAsset component in order to cook it, but you can always press the "Keep output only" or bake the output to remove this afterwards.
  • Quick Links