Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slide along attachment point
#2
(09-12-2020, 04:28 AM)llevine Wrote: Hello, thanks for this great extension. Sorry if this is a basic question but is there a way to slide a rope along an attachment point? I'd like the rope to react the way it currently does with an attachment point, but when enough force is applied to the rope it pulls the rope through using the attachment point to anchor the position. If there isn't a simple way to do this, would it be possible to use a cursor to increase the length on the side that's being pulled and decrease it on the other simultaneously? I'd really appreciate any thoughts. Thanks.

Hi there!

You can't do what you describe using attachments, as this isn't how they work. (Static) attachments set the mass of some particles to infinite (excluding them form the simulation) and overrides their position to follow a certain transform. Dynamic attachments exchange forces with the rigidbody they're attached to. Both types of attachment constrain 3 translational DOFs (degrees of freedom) and optionally, in the case of rods, 3 additional rotational DOFs.

This would be more of a "pinhole constraint" or something similar, that constrains the rope in only two translational DOFs and (I assume) all three rotational DOFs, leaving only one axis for the rope to move along. The "...when enough force..." part would also imply some kind of sliding friction along this unconstrained DOF. This is a really specialized use case.

Currently the only way of doing this would be collisions + frictional contacts.

kind regards,
Reply


Messages In This Thread
Slide along attachment point - by llevine - 09-12-2020, 04:28 AM
RE: Slide along attachment point - by josemendez - 09-12-2020, 09:03 AM
RE: Slide along attachment point - by llevine - 11-12-2020, 06:04 PM
RE: Slide along attachment point - by josemendez - 14-12-2020, 08:20 AM