28-08-2020, 08:53 AM
(This post was last modified: 28-08-2020, 08:58 AM by josemendez.)
Hi there,
You're looking at the docs for 3.X/4.X, there's no "VolumeConstraints" property in 5.X. You can now access global constraint properties directly (pressure, compliance, etc), see the API for the ObiCloth class:
http://obi.virtualmethodstudio.com/api.html
The correct code should be along the lines of:
See: http://obi.virtualmethodstudio.com/tutor...aints.html
You're looking at the docs for 3.X/4.X, there's no "VolumeConstraints" property in 5.X. You can now access global constraint properties directly (pressure, compliance, etc), see the API for the ObiCloth class:
http://obi.virtualmethodstudio.com/api.html
The correct code should be along the lines of:
Code:
cloth.pressure = <your new pressure>
See: http://obi.virtualmethodstudio.com/tutor...aints.html