This repo is not maintained anymore
Line3D support for Godot Engine. Part of Godot 3D Hub.
This project aims to map 1:1 with the Line2D functionality in the engine.
- Point List with 1:1 commands as the Line2D
- add_point
- remove_point
- set_point_position
- clear_points
- get_point_count
- get_point_position
- Width and Width Curve support
- Texture support
- Texture Modes: None, Tile, Stretch
- Gradient support
- No line caps
- No line joins
- Might not be reliable if used dynamically
- Clone or download the zip from the repository
- Create an addons folder in your Godot Project
- Put the folder Line3D in the addons folder (its contents should be the files from the repo)
- Go in Project / Project Settings / Plugins
- Enable the plugin (if you don't see it, restart the engine)
After installing the plugin, you can create a new node called Line3D. It has similar features to Line2D. In order for the Line3D to display correctly, you must have a Camera node in the scene.
- Follow the gdscript style guide
- After you fix the issue or add a new feature, create a pull request
- Try to maintain a 1:1 compatibility with Line2D (when the same feature is present in both)