Skip to content

Trails and Line Renderer Upgrade - #223

Open
Lunat12 wants to merge 14 commits into
mainfrom
trails_upgrade
Open

Trails and Line Renderer Upgrade#223
Lunat12 wants to merge 14 commits into
mainfrom
trails_upgrade

Conversation

@Lunat12

@Lunat12 Lunat12 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Upgrade on Trail Component

  • Bloom option was added (mark the bloom check to use.)
  • Textures were added (drag a texture to the texture slot to use. You can swap textures but not remove them at present.)

Line Renderer Component Added

Line renderer allows creating a visual line joining two or more points. When adding this component, it will automatically have two points created. You can add, remove, and select points on the editor's left panel. Once a point is selected, the edition options will appear on the right panel.

Point Options

  • Position: You can either enter each point's position coordinates manually or drag an object from the scene to copy its transform. Dragged transforms can be removed. Remove the transform from the point before deleting the object that is being mimicked from the scene; otherwise, right now it's not controlled and will crash.
  • Width: Enter the width of the line at each point.

Other Options

  • Color Gradient: Modify the gradient applied to the rendered line by adding marks at the bottom to adjust color and at the top to adjust opacity. (Limit the total number of marks to no more than 10.)
  • Bloom: Mark the bloom check to use.
  • Texture: Drag a texture to the texture slot to use. You can swap textures but not remove them at present.

@AndreuMiroSabate AndreuMiroSabate left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new options are very useful and they work as indented.
The only thing that is working a little bit strange is when I assign a texture. The bug affect the trails and the line renderer.
When I create a trail or a line render, and I add a texture to it, the next ones I create, if I not assign them a texture, instead of using the default trail or line, they use the texture assigned in the previous trail or line. I add a link to a youtube video where this can be seen.
If this bug is solved, for me the pr can be accepted. Good job.

https://youtu.be/8Hg7TbO6txw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants