![]() |
Animating rod rest position - 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: Animating rod rest position (/thread-2905.html) |
RE: Animating rod rest position - josemendez - 20-06-2021 (19-06-2021, 03:30 AM)Hakazaba Wrote: I'm sorry this has gone on so long, i have a new issue. Can't reproduce this. Can you share the code you're using to update the positions/orientations? (19-06-2021, 03:30 AM)Hakazaba Wrote: At the moment i am supplying world coordenates. Remember that solvers expect and return everything in local space, same for actors and blueprints: they store everything in local space. Using world coordinates only works if both your actor and solver have no translation, rotation or scale. RE: Animating rod rest position - Hakazaba - 21-06-2021 I found the problem, i had some offset values still being set at start RE: Animating rod rest position - marzand - 25-02-2025 (Reposting after emailing the devs. Thanks for the quick reply!) Using ObiRope v7, I've been trying to do the same thing. Found the code from the rod blueprint doing the setup of the Darboux vectors, and from what I know about coordinate frames and splines it seemed straightforward enough to drive those with an FK/IK control system. However, both my own code, as well as a copy-paste of Hakazaba's code from 2021, don't appear to work. In the following image you can see the white lines of a kinematic chain, each node rotating the same amount relative to its parent, and you can see that the rod elements don't mirror those rotations as expected. ![]() (Oh and yes, this is for one or two adult games, but not *only* for adult games. ? Thanks for your time, Mar |