Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'ObiCloth' does not contain a definition for 'VolumeConstraints'
#2
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
Reply


Messages In This Thread
RE: 'ObiCloth' does not contain a definition for 'VolumeConstraints' - by josemendez - 28-08-2020, 08:53 AM