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
CircleShape2D (and any other shape) are resources so they can't be drawn outside the scene tree if they weren't assigned via CollisionShape2Dnode in editor which actually enables editor/in-game visibility on them.
When you add those shapes via shape_owner* API (or even with Physics2DServer) it means that they are added to CollisionObject2D directly bypassing CollisionShape2D.
The solution might be that it's better to draw those shapes directly and not only via CollisionShape2D.
Godot version: 3.2
OS/device including version: Windows 10
Issue description: Collision shapes created using
CollisionObject2D
APIs work but are not visible on enabling "Visible Collision Shapes".Steps to reproduce: Create collision shape using
shape_owner*
APIsMinimal reproduction project:
CollisionVisibilityBug.zip
The text was updated successfully, but these errors were encountered: