Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  contact.stickImpulse always 0, Closed loop ObiRope Collision fails
#2
(12-09-2024, 08:32 AM)alicecatalano Wrote: Hello, I am running a simulation with a closed loop ObiRope, that should simulate an elastic.
The objective is to grasp the elastic with a tool and hook it on some nails, to create different shapes. The nails are vertical and the elastic should be stretched to be hooked to nails at 10 cm of distance between each other.
I am encountering an issue with the collision, because i am able to grasp and release the object with no issues, and i am able to hook the elastic on one nail, but the when i stretch the elastic and i hook it on another nail, after the release the collision is broken, either for both nails or just for the second one and the elastic passes through them.

I don't know if inserting some type of attachment can be helpful because i need the elastic to slide over the nail if the movement requires it.
Do you have any suggestion to address this problem?

Hi,

I'd start by checking a couple typical causes for collision issues:

- Rope is not stretched in a way that gaps open in between particles, as other objects will easily pass trough the gaps. If it's necessary to stretch it pass this point, using surface collisions might help.
- Solver substeps/iterations are sufficiently high for the simulation to come close to converging. If the solver stops the simulation before it's close to converging on a solution, constraints won't be met and the simulation won't behave as expected. The manual contains an in-depth explanation of this that might help: http://obi.virtualmethodstudio.com/manua...gence.html


(12-09-2024, 08:32 AM)alicecatalano Wrote: initially thought of increasing the contact.stickImpulse to make the interface between nail and internal part of the elastic more "unbreakable" but it didn't work because of course I can't change that value.


Even if you could modify the impulse before the simulation has taken place (which you currently can't, since contact callbacks report the solver's solution after it's been applied), modifying stickImpulse would make things worse as it pushes the particles towards the surface they're colliding against, so any trouble staying out of the surface would be exacerbated. What you'd want in this case is the exact opposite: modifying the normal impulse to keep particles out of the colliding surface.

kind regards,
Reply


Messages In This Thread
RE: contact.stickImpulse always 0, Closed loop ObiRope Collision fails - by josemendez - 12-09-2024, 08:46 AM