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

CollisionPolygon3D lacks the color customization options that CollisionShape3D has #101414

Closed
Calinou opened this issue Jan 10, 2025 · 0 comments · Fixed by #101810
Closed

CollisionPolygon3D lacks the color customization options that CollisionShape3D has #101414

Calinou opened this issue Jan 10, 2025 · 0 comments · Fixed by #101810

Comments

@Calinou
Copy link
Member

Calinou commented Jan 10, 2025

Tested versions

System information

Godot v4.4.dev (24d7451) - Fedora Linux 41 (KDE Plasma) on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (nvidia; 565.77) - 13th Gen Intel(R) Core(TM) i9-13900K (32 threads)

Issue description

#90644 implemented the ability to customize collision shape colors, but the CollisionPolygon3D node lacks this functionality:

Image

Additionally, it does not draw filled shape colors, which is inconsistent with other collision shapes.

cc @BattyBovine

Steps to reproduce

  • Create a CollisionPolygon3D node and add a few points to it.
  • Notice how the inspector lacks properties to change the debug color and fill, and that no fill is drawn by default.

Minimal reproduction project (MRP)

test_collision_polygon3d.zip

@Repiteo Repiteo added this to the 4.4 milestone Jan 21, 2025
Splizard pushed a commit to grow-graphics/godot that referenced this issue Feb 2, 2025
This brings CollisionPolygon3D up to feature parity with its counterpart
CollisionShape3D. Closes godotengine#101414.

In addition, adding this feature fixes the issue that CollisionPolygon3D
would never be rendered in exported builds, even if Visible Collision Shapes
is enabled at runtime. Closes godotengine#101413.
tGautot pushed a commit to tGautot/godot that referenced this issue Feb 5, 2025
This brings CollisionPolygon3D up to feature parity with its counterpart
CollisionShape3D. Closes godotengine#101414.

In addition, adding this feature fixes the issue that CollisionPolygon3D
would never be rendered in exported builds, even if Visible Collision Shapes
is enabled at runtime. Closes godotengine#101413.
tGautot pushed a commit to tGautot/godot that referenced this issue Feb 5, 2025
This brings CollisionPolygon3D up to feature parity with its counterpart
CollisionShape3D. Closes godotengine#101414.

In addition, adding this feature fixes the issue that CollisionPolygon3D
would never be rendered in exported builds, even if Visible Collision Shapes
is enabled at runtime. Closes godotengine#101413.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants