Yehor
Results
2
comments of
Yehor
If movement are controlled by setting the transform's position, then ``` // Value from 0 to 1. Determines how smoothly the movement will be performed. In this case, the smaller...
At the time of the trigger, you assign pathcreator and distanceTravelled a new value. Now, in Update, all you need to do is change the position via Lerp: ``` transform.parent.position...