Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
For creating runtime tight knot
#7
(03-08-2021, 05:30 PM)TheMunk Wrote: Hi there!
What's the current state of supporting this fancy thing called "sliding" constraints? It's exactly what I need, but I have no clue of how to integrate it myself in Obi.

Hi!

Sliding constraints are a quite specific use case, almost only useful for suturing. I don't think they will be added to Obi anytime soon.

Adding new constraints to the Burst backend can be done, but requires in-depth knowledge of Obi's architecture as well as position-based dynamics. You could also add it in the form of a velocity-based constraint outside the main constraint loop, which would be easier to do but not as effective: basically you have a point "P" in space trough which the rope must pass, get the rope segment "S" closer to it, calculate the velocity of "S" relative to "P" and project it to the plane orthogonal to the edge, then negate the result and distribute it between the two particles at the ends of the segment. It's a rough idea but would work.
Reply


Messages In This Thread
For creating runtime tight knot - by chanddu - 08-07-2017, 11:15 AM
RE: For creating runtime tight knot - by chanddu - 17-07-2017, 07:24 AM
RE: For creating runtime tight knot - by chanddu - 19-07-2017, 08:35 AM
RE: For creating runtime tight knot - by TheMunk - 03-08-2021, 05:30 PM
RE: For creating runtime tight knot - by josemendez - 04-08-2021, 08:54 AM