Setting a solver from script - 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: Setting a solver from script (/thread-1578.html) |
Setting a solver from script - hazneliel - 19-12-2019 I was using OBI Solver and after I updated to the latest version I cannot set a solver programatically. Even the sample script that was doing this was commented out. This was the code in the sample script: Code: // set up component references (see ObiRopeHelper.cs) Now I get the error: Code: error CS1061: 'ObiRope' does not contain a definition for 'Solver' and no accessible extension method 'Solver' accepting a first argument of type 'ObiRope' could be found (are you missing a using directive or an assembly reference?) I hope you can tell me how to do this now. Thank you. RE: Setting a solver from script - josemendez - 20-12-2019 (19-12-2019, 09:18 PM)hazneliel Wrote: I was using OBI Solver and after I updated to the latest version I cannot set a solver programatically. Even the sample script that was doing this was commented out. There's no need to. In Obi 5.0, actors are managed by the first solver up their hierarchy. See: http://obi.virtualmethodstudio.com/tutorials/bigpicture.html http://obi.virtualmethodstudio.com/tutorials/actors.html http://obi.virtualmethodstudio.com/tutorials/scriptingactors.html |