Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  I want to control the SkinCompliance of individual particles from a script.
#2
(09-10-2021, 12:28 PM)CP0029 Wrote: Hello.
I would like to know how to control SkinCompliance from a C# script.

I'm using obi Skinned Cloth + Obi Particle Picker + Obi Particle Dragger, and I'm trying to customize the inside of Obi Particle Dragger a bit.
Specifically, I'd like to set SkinCompliance to 0 before contact, and then add a small value like 0.0001 when contact is made.
Would that work correctly?

It's done differently depending on whether you want to change the skin compliance globally (for the entire cloth actor) or on a per-constraint basis. The manual explains how to do both:

http://obi.virtualmethodstudio.com/manua...aints.html

Let me know if you need help with it.
Reply


Messages In This Thread
RE: I want to control the SkinCompliance of individual particles from a script. - by josemendez - 10-10-2021, 11:14 AM