Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'ObiCloth' does not contain a definition for 'VolumeConstraints'
#3
(28-08-2020, 08:53 AM)josemendez Wrote: 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:
Code:
cloth.pressure = <your new pressure>

See: http://obi.virtualmethodstudio.com/tutor...aints.html

I must have found an older documentation.
It is working now. Many thanks!!!
Reply


Messages In This Thread
RE: 'ObiCloth' does not contain a definition for 'VolumeConstraints' - by yeyoya - 01-09-2020, 12:54 PM