godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.48k stars 21.26k forks source link

3D collision shapes difficult to see in editor #86774

Open AndHalfAFish opened 11 months ago

AndHalfAFish commented 11 months ago

Tested versions

not version-dependent

System information

not system-dependent

Issue description

It is often difficult to see collisionshapes in the editor (3d scenes). There doesn't seem to be a way to make the lines more easily visible (color, thickness). Examples from front view & top view :

front_view_collisionshape3d_line_visibility

top_view_collisionshape3d_line_visibility

Steps to reproduce

/

Minimal reproduction project (MRP)

/

AThousandShips commented 11 months ago

As far as I recall this is due to limitations with 3D rendering, drawing non-thin lines is not trivial and I don't think we have a built-in system to draw wide lines in 3D, note how there's a point_size in materials and spatial shaders, but no line_width

See also:

Zireael07 commented 11 months ago

Re the color, there's already an open proposal for that too

AThousandShips commented 11 months ago

The color you can edit with editors/3d_gizmos/gizmo_colors/shape

AndHalfAFish commented 11 months ago

Re color : yes, that works (after editor restart) !

levidavidmurray commented 1 month ago

The color you can edit with editors/3d_gizmos/gizmo_colors/shape

Looks like editors/3d_gizmos/gizmo_colors/shape was removed in this PR: https://github.com/godotengine/godot/pull/90966, and the ability to customize CollisionShape3D debug colours will be added back here: https://github.com/godotengine/godot/pull/90644

Calinou commented 2 weeks ago

Looks like editors/3d_gizmos/gizmo_colors/shape was removed in this PR: https://github.com/godotengine/godot/pull/90966, and the ability to customize CollisionShape3D debug colours will be added back here: https://github.com/godotengine/godot/pull/90644

CollisionShape3D custom colors can still be adjusted in the project setting as per the linked PR's description:

Editor settings for 3D path and shape gizmo colors were removed, as these colors are now set in the project settings instead (they affect both the editor and running project).