Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Render dynamically created spline
#2
Hi Chris,

GLCurvyRenderer is a quick hack for debug visualization, it's highly inefficient as it rasterizes the path every frame. For short splines the performance is ok, but be warned that it renders above anything (i.e. acts like a 2D overlay). You should be able to dynamically add splines to the array using Playmaker. Another option would be a SplinePathMeshBuilder component with a rectangle shape.

A more sophisticated way will be available with the next major release. Hopefully it will be available around christmas, but don't count me on that.
Reply


Messages In This Thread
Render dynamically created spline - by cdutoit - 09-01-2014, 01:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: