We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8a980f + 7ee9402 commit e7a7f50Copy full SHA for e7a7f50
tutorials/2d/2d_movement.rst
@@ -262,7 +262,7 @@ on the screen will cause the player to move to the target location.
262
public override void _PhysicsProcess(double delta)
263
{
264
Velocity = Position.DirectionTo(_target) * Speed;
265
- // LookAt(target);
+ // LookAt(_target);
266
if (Position.DistanceTo(_target) > 10)
267
268
MoveAndSlide();
0 commit comments