Obi Official Forum
Help Regarding Vertex Weight - 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 Regarding Vertex Weight (/thread-3265.html)



Regarding Vertex Weight - LegOfHam - 09-01-2022

Hi,

I was just wondering seeing that vertex weights could be applied through editing a blueprint, our system generates meshes procedurally, we were planning for the weight to be determined by another objects signed distance field. I was wondering if the API supported manually manipulating vertex weight through code as I was unable to find any information related to this.


RE: Regarding Vertex Weight - josemendez - 10-01-2022

(09-01-2022, 01:02 PM)LegOfHam Wrote: Hi,

I was just wondering seeing that vertex weights could be applied through editing a blueprint, our system generates meshes procedurally, we were planning for the weight to be determined by another objects signed distance field. I was wondering if the API supported manually manipulating vertex weight through code as I was unable to find any information related to this.

Hi!

There's no such thing as "vertex weights" in Obi. You might be referring to particle masses, or maybe constraint properties (such as skin radius or backstop)?

Both can be altered at runtime. For per particle properties, see:
http://obi.virtualmethodstudio.com/manual/6.3/scriptingparticles.html

For per-constraint properties, see:
http://obi.virtualmethodstudio.com/manual/6.3/scriptingconstraints.html

let me know if I can be of further help.