Move Object with Lerp – Unity3D (C#)


Move Object with Lerp – Unity3D (C#)

You can use Lerp function to move an object automatically. You just need start and end points. Object moves from start to end in time. You can assign start point and end point manually in script or with mouse click. These points may be another objects positions too. Just assign these points, attach this script to an object and let it move.

©Coffee Break Codes – Move Object with Lerp – Unity3D (C#)

Leave a comment

Your email address will not be published. Required fields are marked *