mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Added debug message regarding driver task being updated upon waypoint position change
This commit is contained in:
parent
c011d037d2
commit
f71d9b523b
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ namespace SceneManager
|
|||
{
|
||||
if (oldPosition != Path.Waypoints[currentWaypointTask].Position)
|
||||
{
|
||||
Game.LogTrivial($"Waypoint position has changed, updating drive task.");
|
||||
oldPosition = Path.Waypoints[currentWaypointTask].Position;
|
||||
Driver.Tasks.DriveToPosition(Path.Waypoints[currentWaypointTask].Position, Path.Waypoints[currentWaypointTask].Speed, (VehicleDrivingFlags)Path.Waypoints[currentWaypointTask].DrivingFlagType, acceptedDistance);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue