Obi Official Forum

Full Version: ObiCurve 4.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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,