Elevation shot

This commit is contained in:
2023-09-08 14:09:18 -07:00
parent f7008b40ff
commit 29140712f6
17 changed files with 57 additions and 45 deletions

View File

@@ -30,6 +30,7 @@ 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)