Roblox Lerp Function

The lerp function will take two vectors and an alpha the last argument a number between 0 and 1 and according to the alpha will create a new vector between the two other positions.

Roblox lerp function. But if youre specifically looking to lerp the camera you can use the lerp method of the cframe like so. Note that the lerp method short for linear interpolation only applies to cframes so youre going to be modifying the cframe property of the part instead of the position property which is a vector3. So if the alpha is 5 or one half it will create a vector halfway between the two other vectors in this case part and part2. This function will trigger the events that have been connected.

Its likely that you wouldnt use it in update anyway.

Https Encrypted Tbn0 Gstatic Com Images Q Tbn 3aand9gcriqexqnbixw Fxyxt1ixu Iurmgn0tztyyzg Usqp Cau

Https Encrypted Tbn0 Gstatic Com Images Q Tbn 3aand9gcriqexqnbixw Fxyxt1ixu Iurmgn0tztyyzg Usqp Cau

Roblox Scripting Beginners Tutorial P1 Youtube

Roblox Scripting Beginners Tutorial P1 Youtube

Rx3i6dc647hzm

Rx3i6dc647hzm

Camera Tweening Interpolate Lerp Is Broken With New Update

Camera Tweening Interpolate Lerp Is Broken With New Update

Https Encrypted Tbn0 Gstatic Com Images Q Tbn 3aand9gcr9nsnvrkrjslewpfj1g9ne2gx7zmusalmdqq Usqp Cau

Https Encrypted Tbn0 Gstatic Com Images Q Tbn 3aand9gcr9nsnvrkrjslewpfj1g9ne2gx7zmusalmdqq Usqp Cau