Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Render dynamically created spline
#1
Hi - Just bought Curvy and it may be the secret sauce to my game Wink

I have a question on rendering a spline I create dynamically. Basically, a player can select a "monster" object and then draw a spline for the monster to follow. I have it working in that the monster will follow the spline. However, how do I render the path so that visually the user can see the spline the monster will follow?

I see on the camera script there is a GLCurvyRenderer script, but can I dynamically add and remove splines to the renderer, and if so how? Or is there a better way of doing this than trying to use the renderer on the camera?

I am using Playmaker for what its worth, but if you have code samples/suggestions perhaps I can replicate it in playmaker.

Thanks in advance

Chris

 

 
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
  Spline Issue Leading to Unity Freeze Pankaj09 1 227 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 179 08-22-2026, 11:24 PM
Last Post: _Aka_
  Spline Spots from 2 samples. BitBlit 8 1,113 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,510 04-12-2026, 03:18 PM
Last Post: _Aka_

Forum Jump: