01-04-2026, 09:44 AM
Hi, I wonder if there is better way to keep rod shape (other than ObiBendTwistConstraintsBatch) without breaking physics too much.
I change shape of the rod to make it bend an it works, but final behaviour is not exactly "right".
The thing is that moving, pulling elastic rod makes everything very soft, forces do not propagate well, it's like pushing soft spaghetti. Keeping shape work in similar way, it the rod is stiff it bends very fast to target shape, but making it softer results in very slow "lerp like" change of rotation.
The thing is I want my rod to be overall soft enough, but at the same time change shape reasonably fast. On top of that I want to avoid situation where huge rigidity force the rod to break constraints, for example see image below. If rod changes shape with colliders around, it has no idea that the bend I set is not possible to do and the whole thing shakes, explodes, or is at least very unstable.
I made system that moves bending slower and checks if lambdas in constraint are not too big, but it's clunky, I don't like my implementation. What else can be done?
I change shape of the rod to make it bend an it works, but final behaviour is not exactly "right".
The thing is that moving, pulling elastic rod makes everything very soft, forces do not propagate well, it's like pushing soft spaghetti. Keeping shape work in similar way, it the rod is stiff it bends very fast to target shape, but making it softer results in very slow "lerp like" change of rotation.
The thing is I want my rod to be overall soft enough, but at the same time change shape reasonably fast. On top of that I want to avoid situation where huge rigidity force the rod to break constraints, for example see image below. If rod changes shape with colliders around, it has no idea that the bend I set is not possible to do and the whole thing shakes, explodes, or is at least very unstable.
I made system that moves bending slower and checks if lambdas in constraint are not too big, but it's clunky, I don't like my implementation. What else can be done?


