Is there a way to flip collisionshape2d to match the animation without flipping parent node?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By amaou310

As a title says, is there a way to flip enemy’s collisionshape2d without flipping parent node in order to avoid affecting other child node?

KinematicBody2D (Parent)
β”œβ”€β”€ Position2D (Child)
β”‚   β”œβ”€β”€ FloorRay (Grandchild)
β”‚   └── EnemySkinNode (Grandchild)
β”‚       └── Sprite (Grandgrandchild)
β”‚       └── AnimationPlayer (Grandgrandchild)
β”œβ”€β”€ CollisionShape2D (Child) ← **I WANT TO FLIP THIS CHILD NODE**
β”œβ”€β”€ CollisionShape2D (Child) ← **I WANT TO FLIP THIS CHILD NODE**
β”œβ”€β”€ ControlNode (Child) ← **I DO NOT WANT TO FLIP THIS CHILD NODE**
β”‚   └── ProgressBar (Grandchild)
:bust_in_silhouette: Reply From: exuin

Do not change the scale of collision nodes, it messed with the physics calculations. Just swap it out with a different, identical-except-for-being-flipped, shape.