Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.2.X, 2019.3.X

Votes

0

Found in

2019.1.0a6

2019.1.12f1

2019.2.0a1

2019.3.0a1

Issue ID

1173400

Regression

Yes

Vector3.MoveTowards returns target Vector3 when maxDistanceDelta is negative and greater than distance between Vectors

Scripting

-

How to reproduce:
1. Open the attached project("case_1173400")
2. Enter Play Mode
3. Observe console

Expected result: all MoveTowards Vectors has the same x and y values
Actual result: 3D MoveTowards Vector has the target Vector3 values

Reproducible with: 2019.1.0a6, 2019.1.13f1, 2019.2.0f1, 2019.3.0a11
Not reproducible with: 2017.4.30f1, 2018.4.5f1, 2019.1.0a5

  1. Resolution Note (fix version 2020.1):

    Fixed in 2019.2.8f1, 2019.3.0b4, 2020.1.0a4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.