Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Trying to add DistanceConstraint for my TearableCloth but getting IndexOutOfRange
#25
(16-08-2022, 04:08 PM)snowtv Wrote: Thanks, how should I disable the collisions between the sewn particles? Or should I extend the distance constraints added to them?

Either set the particle's rest positions so that they intersect (particles that intersect at the rest pose skip self-collisions at runtime), or just give some extra slack to the distance constraints.

(16-08-2022, 04:08 PM)snowtv Wrote: One more question, after adding the new batch to the blueprint, and set the constraint type dirty in the solver, does it change the index of the new batch in the actor's batches list? I'd like to be able to retrieve the added constraints later on and edit/remove them.

No, the index in the actor's batches list is kept intact.
Reply


Messages In This Thread
RE: Trying to add DistanceConstraint for my TearableCloth but getting IndexOutOfRange - by josemendez - 17-08-2022, 09:31 AM