Fix PathFollower end point when given to

This commit is contained in:
samme 2021-10-30 11:13:50 -07:00
parent b3f34a0471
commit ebb27e8ae4

View file

@ -367,7 +367,7 @@ var PathFollower = {
if (tweenData.state === TWEEN_CONST.COMPLETE)
{
this.path.getPoint(1, pathVector);
this.path.getPoint(tweenData.end, pathVector);
pathDelta.add(pathVector);
pathVector.add(this.pathOffset);