Rotate a CollisionShape2D?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Schweini
:bust_in_silhouette: Reply From: Dooowy.

You can rotate the CollisionShape2D like this

using Godot;
using System;

public class cs_CollisionShape : CollisionShape
    public override void _Ready()

I encourage you to read the Godot API regarding the Spatial class and its methods.