Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Line3D node #4364

Closed
Manik2607 opened this issue Apr 7, 2022 · 5 comments
Closed

Add a Line3D node #4364

Manik2607 opened this issue Apr 7, 2022 · 5 comments

Comments

@Manik2607
Copy link

Describe the project you are working on

A simple 3d game with bullet trails...

Describe the problem or limitation you are having in your project

I can't imagine there is still not a line 3d node in Godot ... Almost every game has some sort of lines it's really annoying to use addons for it... If there is line 2d there must be line 3d...

Describe the feature / enhancement and how it helps to overcome the problem or limitation

.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

.

If this enhancement will not be used often, can it be worked around with a few lines of script?

.

Is there a reason why this should be core and not an add-on in the asset library?

Because there is a line 2d node already...it causes confusion... every game needs it

@Calinou
Copy link
Member

Calinou commented Apr 7, 2022

Related to #3703.

@hackerManik3 Please answer all the proposal questions by editing your original post – these questions are not optional.

Remember that you can exploit CSGPolygon's Path mode to draw 3D lines, although animating them will be slow as the mesh needs to be regenerated every frame if you update the path.

Alternatively, you can use a MeshInstance with a CylinderMesh and stretch it as desired, but this only works for straight lines.

@Calinou Calinou changed the title Line 3d Add a Line3D node Apr 7, 2022
@elvisish
Copy link

There's 3 repos on here that seem to add Line3D functionality, but I agree it should be on pairing with Line2D.

Here's one: https://github.com/RedefineGamedev/Line3D

@Norrox

This comment was marked as off-topic.

@Calinou
Copy link
Member

Calinou commented Jul 24, 2022

@Norrox Please don't bump issues without contributing significant new information. Use the 👍 reaction button on the first post instead.

@Calinou
Copy link
Member

Calinou commented Jan 23, 2023

Closing in favor of #6151, which is more detailed.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants