Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transform Gizmos into real 3d meshes
#3
Hi,

instead of using GetChild, better store a reference to the Spline and access it's segments directly, like mySpline[2] to get the 2nd spline segment. If you want to access the CP's directly, use the mySpline.ControlPoints[] list.

Don't get confused: Control Points and Segments are more or less the same (a CurvySplineSegment component). The difference is that the term Segment refers to a visible spline part (=a CP and curve part ranging from there to the next CP), so if you have a nonclosed spline it has n segments and n+1 CP's.
Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cant Generate Meshes At Runtime alms94 5 22 01-26-2024, 11:27 AM
Last Post: _Aka_
  Disable rebuild of meshes in dynamic mode Zilk1 1 8 10-04-2023, 09:50 AM
Last Post: _Aka_
  Combining two separate meshes ava_ava 2 7 07-26-2023, 05:49 AM
Last Post: ava_ava
  Invisible generated meshes in build itsGama 5 10 06-08-2023, 11:53 AM
Last Post: _Aka_

Forum Jump: