Obi Official Forum
Help Dynamically generating Blueprints from code - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Help Dynamically generating Blueprints from code (/thread-4011.html)



Dynamically generating Blueprints from code - michendo - 26-09-2023

Is it possible to dynamically generate a blue print from code?

the reason for this is that I am manipulating regular meshes at run time. When I get the one I want I want to make that mesh behave as an OBI cloth mesh. Can a blueprint be generated from code and attached to an OBI cloth?


RE: Dynamically generating Blueprints from code - josemendez - 26-09-2023

(26-09-2023, 08:56 AM)michendo Wrote: Is it possible to dynamically generate a blue print from code?

the reason for this is that I am manipulating regular meshes at run time. When I get the one I want I want to make that mesh behave as an OBI cloth mesh. Can a blueprint be generated from code and attached to an OBI cloth?

Hi,

Yes, it's possible. See the manual page on scripting actors:
http://obi.virtualmethodstudio.com/manual/6.3/scriptingactors.html

The asset includes a sample scene that does this, called "RuntimeCloth". It generates both the mesh and the blueprint at runtime.

kind regards,


RE: Dynamically generating Blueprints from code - michendo - 26-09-2023

(26-09-2023, 10:17 AM)josemendez Wrote: Hi,

Yes, it's possible. See the manual page on scripting actors:
http://obi.virtualmethodstudio.com/manual/6.3/scriptingactors.html

The asset includes a sample scene that does this, called "RuntimeCloth". It generates both the mesh and the blueprint at runtime.

kind regards,

Awesome. Thanks for the quick response.