Scripting in C#

   1605   1   0
User Avatar
Member
4 posts
Joined: April 2019
Offline
Hello,

I'm finding the Evergreen Generator example script slightly confusing. If you run the script you can animate the tree by changing its gravity parameter and also randomly set different colors for the “branch_vtx_color_color” parameter. However, it seems that this doesn't work at runtime which makes me wonder what the practical purpose of this script would be?

Can anyone give some use cases of scripting with the plugin? I've seen people discussing instancing Houdini Assets at runtime. Are there any other good examples?
Edited by motorcycleboy - Jan. 31, 2020 08:35:33
User Avatar
Member
571 posts
Joined: May 2017
Offline
The purpose of the script is to show how to use the plugin through scripting. Its not meant to be used at runtime, though the fact that it asks to test it in play mode makes it slightly confusing. Regardless, the code it uses works in Editor mode.

The plugin does not support runtime at the moment.
  • Quick Links