Clone wiki

SplineTools / Editor spline

Attach this script to an entity in your scene that is going to be the spline.

editorspline.PNG

  • Type: At release there is support for Path splines and Road splines.
  • Start node: Indicates the first node of the spline. When left empty, the spline will present an error.
  • Debug Camera: Here you link in a camera. This is only required if you want to debug Splines lines. Without a camera, the debug options below will be set to false
  • Debug nodes: Creates red sphere at the location of each node.
  • Debug handlers: Creates pink spheres at the location of each handlers and draws a connecting line to the node.
  • Debug node links: Draws a straight line between connecting nodes.
  • Debug spline: Creates green spheres along the spline.

Updated