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

CSGShape3D with collision but no visuals do not show gizmo #96807

Open
MajorMcDoom opened this issue Sep 10, 2024 · 1 comment
Open

CSGShape3D with collision but no visuals do not show gizmo #96807

MajorMcDoom opened this issue Sep 10, 2024 · 1 comment

Comments

@MajorMcDoom
Copy link
Contributor

MajorMcDoom commented Sep 10, 2024

Tested versions

Reproducible in 4.3.stable and 4.4.dev

System information

Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 SUPER (NVIDIA; 32.0.15.6081) - Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz (16 Threads)

Issue description

A CSGShape3D with Use Collision enabled, but set to invisible will not show any gizmos, as the gizmo visibility is linked to node visibility. This makes it impossible to visualize CSGs that are meant purely for collision purposes.

CSG_Gizmo_Visibility

The expected behaviour would be for all CSGShape3D gizmos to remain on if either the Use Collision property or Visible property are true.

Note that this is a follow-up issue to a series of prior issues and fixes. You can find a summary of them here: #86699

Steps to reproduce

  • Make any CSGShape3D in any scene
  • Enable its Use Collision property
  • Toggle its Visible property.
  • Note that the gizmo disappears when Visible is false.

Minimal reproduction project (MRP)

N/A

@MajorMcDoom
Copy link
Contributor Author

It seems like this is a problem with gizmos for all Node3D in general. For example, CollisionShape3D can still be made "invisible" (even though it does nothing) and this would also hide their gizmos. EditorNode3DGizmoPlugin, the parent class of all Node3D gizmos, has this gizmo visibility behaviour built-in.

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

2 participants