Cook Asset without GameObject/ MonoBehaviour

   789   1   0
User Avatar
Member
3 posts
Joined: Feb. 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 - Jan. 18, 2022 00:55:58
anthonyt2
Staff
100 posts
Joined: Dec. 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