Skip to content

Commit

Permalink
Merge pull request #3645 from KBVE/dev
Browse files Browse the repository at this point in the history
Preparing Alpha Branch
  • Loading branch information
h0lybyte authored Dec 28, 2024
2 parents 451dcf5 + c97eaca commit b5523ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/kilonet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Last build failed, maybe we are back at our gh action failing again. There are t
11-30-2024 - Updating the env and preparing a test case deployment. Forgot the variable name.
12-02-2024 - Starting JavaScript FFI.
12-10-2024 - Trigger the first step of the js ffi.
12-28-2024 - JS FFI Build Fix
12-28-2024 - JS FFI Build Fix, build 2.0

- [KBVE](https://kbve.com/)
- [RareIcon](https://rareicon.com/)
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ protected virtual void DeterminePath(Vector3 startingPosition, Vector3 targetPos
NextWaypointIndex = 0;
while (NextWaypointIndex < Waypoints.Length)
{
if (
(Waypoints[NextWaypointIndex] - transform.position).magnitude
< DistanceToWaypointThreshold
)
var distance = (Waypoints[NextWaypointIndex] - transform.position).magnitude;
Debug.Log("distanceToWaypoint=" + distance);
if (distance < DistanceToWaypointThreshold)
{
Debug.Log("distanceToWaypoint changed=" + distance);
NextWaypointIndex++;
}
else
Expand Down

0 comments on commit b5523ce

Please sign in to comment.