Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Schweini |
Reply From: | Dooowy. |
You can rotate the CollisionShape2D like this
using Godot;
using System;
public class cs_CollisionShape : CollisionShape
{
public override void _Ready()
{
this.RotateZ(45f);
}
}
I encourage you to read the Godot API regarding the Spatial class and its methods.
https://docs.godotengine.org/en/3.1/classes/