Obi Official Forum
Help ObiCurve 4.0 - 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: Help ObiCurve 4.0 (/thread-900.html)



ObiCurve 4.0 - Alexalder - 13-02-2019

Hi,
I need some help using the new ObiCurve script.
I had a custom script generating a Fermat's spiral which worked perfectly before with the CatmullCurve, now this is what i get, probably due to broken tangents calculations.
Is there a guide on how to use the new ObiCurve by script? It was really simple before, adding the points of the equation and that was it.
Thanks


RE: ObiCurve 4.0 - josemendez - 13-02-2019

(13-02-2019, 12:48 PM)Alexalder Wrote: Hi,
I need some help using the new ObiCurve script.
I had a custom script generating a Fermat's spiral which worked perfectly before with the CatmullCurve, now this is what i get, probably due to broken tangents calculations.
Is there a guide on how to use the new ObiCurve by script? It was really simple before, adding the points of the equation and that was it.
Thanks

The new curve uses tangent points, so you should derive adequate tangents for your spiral. In case of a circular helix, you have an example in /SampleResources/Scripts/SpiralCurve.cs

kind regards,