From 6085dad3ffc8f22c84cdf0855bc488e74db59699 Mon Sep 17 00:00:00 2001 From: VladKopylets <57573532+deand0n@users.noreply.github.com> Date: Thu, 23 Mar 2023 20:56:28 +0200 Subject: [PATCH] Fix typo at 2d_movenet.rst --- tutorials/2d/2d_movement.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/2d/2d_movement.rst b/tutorials/2d/2d_movement.rst index 404ea996d..b164e024f 100644 --- a/tutorials/2d/2d_movement.rst +++ b/tutorials/2d/2d_movement.rst @@ -261,7 +261,7 @@ on the screen will cause the player to move to the target location. public override void _PhysicsProcess(double delta) { - velocity = Position.DirectionTo(_target) * Speed; + Velocity = Position.DirectionTo(_target) * Speed; // LookAt(target); if (Position.DistanceTo(_target) > 10) {