13 lines
229 B
C#
13 lines
229 B
C#
using Godot;
|
|
|
|
public partial class CutterShot : Projectile
|
|
{
|
|
[Export]
|
|
private PathFollow3D _pathFollow;
|
|
|
|
public override void _PhysicsProcess(double delta)
|
|
{
|
|
_pathFollow.Progress += Speed * (float)delta;
|
|
}
|
|
}
|