Buggy but playable, auto-complete on stage 6 still a bug

This commit is contained in:
2023-09-08 20:13:58 -07:00
parent 29140712f6
commit f67963b129
16 changed files with 70 additions and 36 deletions

View File

@@ -68,7 +68,6 @@ public partial class Character : CharacterBody3D
private async void Fire()
{
GD.Print("Firing projectile at " + GlobalPosition);
var projectile = _fireProjectile.Instantiate<Node3D>();
projectile.Position = Position;
GetParent().AddChild(projectile);

View File

@@ -30,7 +30,6 @@ public partial class Projectile : Node3D
public override void _PhysicsProcess(double delta)
{
GD.Print("Projectile is at " + GlobalPosition);
var pathFollow = GetNode<PathFollow3D>("PathFollow3D");
pathFollow.Progress += Speed * (float)delta;
if (pathFollow.ProgressRatio > 0.98f)