Display outline of CollisionShape2D for debugging

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By superdav42
:warning: Old Version Published before Godot 3 was released.

I have a CollisionShape2D that I am using an AnimationPlayer with keyframes set on scaling from (0, 0) to (1,1) in 1s. I’m using it similar to an explosion and it uses an animation to give the player time to dodge the explosion. The problem is it seems to be way larger than I expect it to be when it’s scaled but it’s hard to tell since I cannot actually see the shapes interact.

Is there a way enable some sort of out line for all the CollisionShapes to get more visual feedback of what is happening to help with debugging?

You must not scale CollisionShapes! Instead, change the shape’s radius property.

timoschwarzer | 2017-07-11 07:36

I knew this but couldn’t find it at first. Finally find how to keyframe it in the actually shape’s properties.

superdav42 | 2017-07-11 16:03

:bust_in_silhouette: Reply From: Skyfrit

You can turn on this option.

enter image description here