Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Dynamic attachment to fixed object with hinge component
#2
(12-02-2025, 09:34 AM)NoahAtlas Wrote: Since I want the amount of strain on the chain to influence the rotation of the bottom hook (green mesh) I make the bottom particle attachment dynamic (and add the needed obi collider and rigidbody components to the bottom hook). When I don't change the settings of the chain, running the scene will lead to very erratic behavior: The chain immediately disconnects and all the components just start shaking uncontrollably (seen in image 3 "Dynamic No Changes").

Hi!

The most probable cause for this is the rope colliding with the hook. This will lead to an impossible to solve situation, as the rope can't simultaneously intersect the collider (what the attachment strives to achieve) and not intersect the collider (what collisions strive to do). As a result, the simulation will shake/jitter as it attempts to meet both conditions in vain.

This is described in the manual, along with potential solutions. See "attachments inside colliders": https://obi.virtualmethodstudio.com/manu...ments.html

(12-02-2025, 09:34 AM)NoahAtlas Wrote: I then tried modifying the chain constraints

I think you're confusing chain constraints with chain rendering, which is a completely different thing. Chain constraints are only used by rods. Ropes (regardless of how you render them) use distance constraints.

(12-02-2025, 09:34 AM)NoahAtlas Wrote: but it always results in a chain that doesn't have enough strain on it and that doesn't connect to the the mesh properly (as seen in image 4 "Dynamic With Stretch Compliance").

I think you refer to stress, not strain? Strain = deformation due to stress. So what you actually want is to have as little strain as possible, that is, stress forces must not deform the rope but instead rotate the hook. To achieve this, stretch compliance must be set to zero (since compliance = elasticity). Any other setting will take you further from your goal.

let me know if I can be of further help,

kind regards,
Reply


Messages In This Thread
RE: Dynamic attachment to fixed object with hinge component - by josemendez - 12-02-2025, 10:26 AM