Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curve and Mesh generation with updates
#1
Hello VM & Forum,

I've created a simple c# script that creates a curve on the fly using a set of positions, using "Obi/Scripts/Utils/ObiRopeHelper.cs" as a reference (great example BTW).

Instead of relying on the solver to update the positions of the curve, inside Update() I'd like to set the "controlPoints" of the "ObiCatmullRomCurve" component and update the mesh of the ObiRope connected to the curve. Is there a way to do this?

Basically I am interested in using the tool only to create procedural tubes / cables / wires meshes, without the physics solver.

Thanks a lot in advance!
-m
Reply


Messages In This Thread
Curve and Mesh generation with updates - by micsanbr - 11-12-2018, 01:42 PM