{"id":13662685,"url":"https://github.com/vvrvvd/Unity-Spline-Editor","last_synced_at":"2025-04-25T10:33:11.524Z","repository":{"id":48309260,"uuid":"351329632","full_name":"vvrvvd/Unity-Spline-Editor","owner":"vvrvvd","description":"Spline editor extension for Unity.","archived":false,"fork":false,"pushed_at":"2021-09-15T18:49:22.000Z","size":12403,"stargazers_count":107,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T03:09:33.035Z","etag":null,"topics":["bezier","curve","spline","unity","unity-asset","unity-editor","unity3d","unity3d-editor"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vvrvvd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-25T06:18:39.000Z","updated_at":"2025-03-21T03:44:16.000Z","dependencies_parsed_at":"2022-08-27T05:03:30.352Z","dependency_job_id":null,"html_url":"https://github.com/vvrvvd/Unity-Spline-Editor","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvrvvd%2FUnity-Spline-Editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvrvvd%2FUnity-Spline-Editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvrvvd%2FUnity-Spline-Editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvrvvd%2FUnity-Spline-Editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vvrvvd","download_url":"https://codeload.github.com/vvrvvd/Unity-Spline-Editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250798425,"owners_count":21489074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bezier","curve","spline","unity","unity-asset","unity-editor","unity3d","unity3d-editor"],"created_at":"2024-08-02T05:02:05.281Z","updated_at":"2025-04-25T10:33:11.515Z","avatar_url":"https://github.com/vvrvvd.png","language":"C#","funding_links":[],"categories":["Game-Math","C\\#"],"sub_categories":[],"readme":"# Unity Spline Editor\n[![Unity 2020.1+](https://img.shields.io/badge/unity-2020.1%2B-blue.svg)](https://unity3d.com/get-unity/download) [![openupm](https://img.shields.io/npm/v/com.vvrvvd.spline-editor?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.vvrvvd.spline-editor/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Table Of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [System Requirements](#system-requirements)\n- [Dependencies](#dependencies)\n- [Installation](#installation)\n- [Overview](#overview)\n\t- [Spline Editor Window](#spline-editor-window)\n\t- [Casting Spline](#casting-spline)\n\t- [Drawer Tool](#drawer-tool)\n\t- [Settings](#settings)\n\t- [Examples](#examples)\n\t\t- [Mesh Generator](#mesh-spline)\n\t\t- [Line Renderer](#line-renderer)\n- [License](#license)\n\n## Introduction \u003ca name=\"introduction\"\u003e\u003c/a\u003e\n\n**Unity Spline Editor** is an open-source tool for creating and managing cubic bezier curves in Unity Editor. \n\nThe tool was written to bring cubic bezier splines to Unity. The tool let you do the basic operations like **adding**, **removing** or **splitting** curves but also provides you with options to **factor**, **simplify**, **draw** or **cast splines to camera view**. You can also adjust how splines are displayed in the editor through settings window. \n\n## Features \u003ca name=\"features\"\u003e\u003c/a\u003e\n\n- Separate tools window for Spline Editor\n- Creating and managing cubic bezier splines in Scene View\n- Four modes for control points: **Free**, **Aligned**, **Mirrored** and **Automatic**\n- Splitting curves by split point value\n- Quick factoring and simplifying splines\n- Normals editor\n- Casting splines to either self, custom transform or camera using Physics Raycast\n- Casting control points to current mouse position using Physics Raycast\n- Drawer tool for drawing splines in Scene View\n- Three buttons layouts types: Image, Text and Image \u0026 Text\n- Adjustable editor settings (colors, sizes etc.)\n- Adjustable shortcuts through Unity Shortcuts manager\n- Example scripts for generating meshes from splines and using line renderers\n\n## System Requirements \u003ca name=\"system-requirements\"\u003e\u003c/a\u003e\n\nUnity 2020.1 or newer.\n\n## Dependencies \u003ca name=\"dependencies\"\u003e\u003c/a\u003e\n\n[Burst](https://docs.unity3d.com/Packages/com.unity.burst@1.4/manual/index.html)\n\n## Installation \u003ca name=\"installation\"\u003e\u003c/a\u003e\n\n1. The package is available in Unity Package Manager via git URL. Follow up [this](https://docs.unity3d.com/Manual/upm-ui-giturl.html) Unity page for detailed instructions. Git URL:\n```\nhttps://github.com/vvrvvd/Unity-Spline-Editor.git#upm\n```\n2. You can also install Spline Editor by simply downloading repository zip file and copying Assets folder content to your Unity project.\n\n## Overview \u003ca name=\"overview\"\u003e\u003c/a\u003e\n\n### Spline Editor Window \u003ca name=\"spline-editor-window\"\u003e\u003c/a\u003e\n\nEditor window can be opened by going to `Window-\u003eSpline Editor` on the Unity toolbar. Spline can be edited by **adding**, **removing** or **splitting** curves. Additionaly every control point has four **modes** that can influence a neighbour control point. When spline is **looped** the first and the last points are treated as the same point so they share the same position and mode (keep in mind that they are still two distinct points). Splines can also be quickly **factored** or **simplified** by adding or removing mid points from them.\n\n \u003cimg src=\"https://i.imgur.com/70Ri7BK.gif\"\u003e\n \u003cimg src=\"https://i.imgur.com/uIRElbf.gif\"\u003e\n\n### Normals Editor \u003ca name=\"casting-spline\"\u003e\u003c/a\u003e\n\nSpline points have normals that can be rotated along spline tangents. There is an option to **flip** normals or rotate all the normals by **global angle**.\n\n \u003cimg src=\"https://i.imgur.com/0DqLQ9b.gif\"\u003e\n\n### Drawer Tool \u003ca name=\"drawer-tool\"\u003e\u003c/a\u003e\n\n**Drawer tool** lets you freely draw spline in the scene view. Use additional parameters like **smoothing acute angles** or **segment length** to adjust the tool to your needs.\n\n \u003cimg src=\"https://i.imgur.com/yDwkB6f.gif\"\u003e\n\n### Settings \u003ca name=\"settings\"\u003e\u003c/a\u003e\n\n**Settings** can be accessed by going to `Edit-\u003eProject Settings-\u003eSpline Editor` on the Unity toolbar or by clicking on a gear icon in the right corner of Spline Editor window.\n\n \u003cimg src=\"https://i.imgur.com/CYyOLVj.gif\"\u003e\n \n \n## Examples \u003ca name=\"examples\"\u003e\u003c/a\u003e\n\n### Mesh Generator \u003ca name=\"mesh-spline\"\u003e\u003c/a\u003e\nAdd **Spline Mesh** component on scene to generate mesh from Bezier Spline.\n\nIt is located in `Samples/Mesh Generator` folder.\n\n \u003cimg src=\"https://i.imgur.com/ZH7fqKJ.gif\"\u003e\n \n### Line Renderer Spline \u003ca name=\"line-renderer\"\u003e\u003c/a\u003e\nTo visualize spline using **Line Renderer**, add **Line Renderer Spline** component on scene.\n\nIt is located in `Samples/Line Renderer` folder.\n\n \u003cimg src=\"https://i.imgur.com/LD7dvJr.gif\"\u003e\n \n ## License \u003ca name=\"license\"\u003e\u003c/a\u003e\n \n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvrvvd%2FUnity-Spline-Editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvvrvvd%2FUnity-Spline-Editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvrvvd%2FUnity-Spline-Editor/lists"}