You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Godot 3.0 Collisions Shapes (CollisionShape2D / CollisionPolygon2D) dont get drawn on the editor or debug, except RectangleShape2D, RayShape2D or LineShape2D
#8033
Closed
rubenjavier opened this issue
Mar 15, 2017
· 7 comments
Operating system or device - Godot version:
Ubuntu 16.04
Godot 3.0
gcc 5
Issue description:
When adding a CollisionShape2D different than a RectangleShape2D to a KinematicBody2D or StaticBody2D the CollisionShape2D is not drawn on the editor or when debugging collision shapes, except if it is a RectangleShape2D, RayShape2D or LineShape2D.
CapsuleShape2D, CircleShape2D, ConcavePolygonShape2D, ConvexPolygon2D dont get drawn
CollisionPolygon2D also dont get draw correctly, just the outline, but never the "blue" area inside the polygon
Steps to reproduce:
.--For CollisionShape2D:
1.-turn on see collision shapes for debug
2.-create a KinematicBody2D
3.-add a CollisionShape2D
4.-set the CollisionShape2D to capsule
5.-the CollisionShape wont be draw
.--For CollisionPolygon2D:
1.-turn on see collision shapes for debug
2.-create a StaticBody2D
3.-add a CollisionPolygon2D
4.-set the CollisionPolygon2D to Array Size 4 and add 4 vertexs:
(-10,-10),(-10,10),(10,10),(10,-10)
5.-the CollisionShape wont be draw
The text was updated successfully, but these errors were encountered:
Same issue here, effects every computer I have so:
Modern and old AMD and Intel CPUs, Older AMD, Newer Nvidia, and Newer and Older Intel GPUs
Windows 7 Pro and Windows 10 Pro
The only CollisionShape that renders correctly is the rectangle.
this is related to: #8425
The PR should really get merged. In 3.0 the circle and poly draw functions of the current master are just commented out. because the draw poly function does not work. #8425 fixes the draw poly function and by doing so fixes color picker, collision shapes...
Operating system or device - Godot version:
Ubuntu 16.04
Godot 3.0
gcc 5
Issue description:
When adding a CollisionShape2D different than a RectangleShape2D to a KinematicBody2D or StaticBody2D the CollisionShape2D is not drawn on the editor or when debugging collision shapes, except if it is a RectangleShape2D, RayShape2D or LineShape2D.
CapsuleShape2D, CircleShape2D, ConcavePolygonShape2D, ConvexPolygon2D dont get drawn
CollisionPolygon2D also dont get draw correctly, just the outline, but never the "blue" area inside the polygon
Steps to reproduce:
.--For CollisionShape2D:
1.-turn on see collision shapes for debug
2.-create a KinematicBody2D
3.-add a CollisionShape2D
4.-set the CollisionShape2D to capsule
5.-the CollisionShape wont be draw
.--For CollisionPolygon2D:
1.-turn on see collision shapes for debug
2.-create a StaticBody2D
3.-add a CollisionPolygon2D
4.-set the CollisionPolygon2D to Array Size 4 and add 4 vertexs:
(-10,-10),(-10,10),(10,10),(10,-10)
5.-the CollisionShape wont be draw
The text was updated successfully, but these errors were encountered: