Skip to content

Commit e7a7f50

Browse files
authored
Merge pull request godotengine#8537 from codeanish/patch-3
Update 2d_movement.rst
2 parents b8a980f + 7ee9402 commit e7a7f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/2d/2d_movement.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ on the screen will cause the player to move to the target location.
262262
public override void _PhysicsProcess(double delta)
263263
{
264264
Velocity = Position.DirectionTo(_target) * Speed;
265-
// LookAt(target);
265+
// LookAt(_target);
266266
if (Position.DistanceTo(_target) > 10)
267267
{
268268
MoveAndSlide();

0 commit comments

Comments
 (0)