using Godot; namespace GodotHostTest.Game.Projectile; public partial class Projectile : Node2D { [Export] private float _speed = 100; public override void _PhysicsProcess(double delta) { Position += (float)delta * _speed * Vector2.Up.Rotated(Rotation); } }