Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ObiSolver.Lateupdate() bad performance
#22
(16-08-2021, 10:22 AM)josemendez Wrote: You could use two ropes, or abuse the fact that self-collisions will ignore pairs of particles that intersect at rest. This prevents particles that overlap (such as when you have high-resolution ropes) from colliding with each other and causing a mess.

The rest position of particles is stored in the restPositions array in the solver. For ropes, these are initialized assuming the rope is completely straight. If for some reason you wanted specific particles in a rope to ignore self-collisions with each other, you could programmatically set their rest positions so that certain particles overlap.

From the manual:

http://obi.virtualmethodstudio.com/manua...icles.html
Ah I see, just stitching the particles in the blueprint when they are exactly on top of each other fixes this.
Thanks!
Reply


Messages In This Thread
RE: ObiSolver.Lateupdate() bad performance - by TheMunk - 16-08-2021, 10:30 AM