Stiff wire simulation - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Stiff wire simulation (/thread-224.html) |
Stiff wire simulation - jfeng94 - 02-11-2017 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! RE: Stiff wire simulation - josemendez - 02-11-2017 (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. 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 RE: Stiff wire simulation - jfeng94 - 03-11-2017 Hi Jose, Thanks so much for the quick reply! Sad to hear that it's not supported yet. RE: Stiff wire simulation - MariuszVR - 31-10-2018 (02-11-2017, 09:22 PM)josemendez Wrote: Hi there, Hi, Is this supported now? I need just something that can behave as a simple wire.... from 1 inch to like 10 inches longs.... that I can bend in VR ... would be used to connect some pieces together, like electrical boards. hmm RE: Stiff wire simulation - josemendez - 31-10-2018 (31-10-2018, 01:22 AM)MariuszVR Wrote: Hi, Is this supported now? Working on it, a few more weeks till they're ready. They will ship in Obi Rope 4.0, compatible with Unity 2018.1 and up. Here's a sneak peek showing spring simulation and plectoneme formation: Just make sure you really need full rods instead of simple ropes for your purpose, as they're a bit more expensive than ropes (around 10-15% more). Also they consume slightly more memory as they need to store per-segment quaternions and inertia tensors. RE: Stiff wire simulation - MariuszVR - 03-11-2018 (31-10-2018, 09:25 AM)josemendez Wrote: Working on it, a few more weeks till they're ready. They will ship in Obi Rope 4.0, compatible with Unity 2018.1 and up. Here's a sneak peek showing spring simulation and plectoneme formation: ohhh maaan... this looks great! In my case I will want to use the system so a player can attach both ends of the wire to some electronics boards etc for kind of training purposes. Will see. Thanks for response! RE: Stiff wire simulation - Erman - 14-11-2019 Hello Is it possible tool to use obiRope 4.0 (rod sneak peek) as a guidewire? Guidewire through a tool try to aim a tube's hole(entrance) then put guidewire into that tube. RE: Stiff wire simulation - josemendez - 14-11-2019 (14-11-2019, 07:28 AM)Erman Wrote: Hello Hi there, Nope. Ropes and rods are modeled as a string of spherical solid particles. For a guidewire you'd need collision detection against hollow cylindrical sections instead, which is a really specialized use case. I highly doubt you can find a pre-made solution for this. |