#Lerping

20 messages · Page 1 of 1 (latest)

analog arrow
#

show code

analog arrow
#

you have code that's not working

#

send it

#

or else there's nothing to work with

dense beacon
#

Sorry about him nobody likes him

#

The vector3 object has a :lerp() function

#

Vector3 is just something with x,y, and z

#

vector3.new(x,y,z):lerp(vector3.new(x,y,z)

#

Any part also has part.positon such is a vector3 holding it's position

#

So you can get the lerp of two parts (part1,part2) by

local part1 = instance.new("part") --just a part, can be workspace.part
local part2=instance.new("part")
part.position:lerp(part2.position)```
analog arrow
#

guy seemed like he had code and you're making this about me wtf

#

seems like you have nothing to contribute to this discussion scripting wise

#

you have a start

#

and a goal

#

you use a for loop

#

and you use task.wait

#

then in each iteration you set the position to a lerp with a new alpha

dense beacon
#

Change the alpha