02-11-2017, 09:22 PM
(This post was last modified: 02-11-2017, 09:29 PM by josemendez.)
(02-11-2017, 08:08 PM)jfeng94 Wrote: I'm interested in using ObiWire to simulate stiff wires (like copper wires) that the user can bend at will but maintains its basic shape when subject to gravity.
Does anyone have any tips on how to set up the solver/constraints to get this sort of behavior? Thanks in advance!
Hi there,
Obi Rope cannot currently simulate these. They are typically referred to as "rods" in simulation jargon, and are very different from ropes/cables: in addition to having stretch/bend elastic potentials, they also require the computation of twist/shear. This is usually accomplished by constraining the Darboux vector, which requires particles in the rope to hold orientation information (quaternions) instead of being just positions in space.
In layman's terms: Rods are aware of twisting motion and have certain plastic behavior, so they can "remember" their original shape, but somewhat keep a new one if you force them to (think old telephone cables, the curly ones). Ropes are not.
We are working on integrating the following paper, so this is likely to be supported in the future:
https://diglib.eg.org/handle/10.2312/sca20161234