Files
GameJam2023/Scripts/MegamiBeamShot.cs
2023-09-05 01:52:10 -07:00

16 lines
294 B
C#

using Godot;
public partial class MegamiBeamShot : Projectile
{
public override void _Ready()
{
Rotation = ParentCharacter.Rotation;
GD.Print(Rotation);
}
public override void _Process(double delta)
{
Translate(new Vector3(0, 0, -Speed * (float)delta));
}
}