mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix typo at 2d_movenet.rst
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user