Speed based lerp?

So instead of taking the new waypoint position, I take previous position?

local newCFrame = self.lastWaypoint:Lerp(self.TargetWaypoint, math.min(1, self.Alpha))
1 Like

Ok, I will try a bit later, I hope this works.

I think I did something wrong but it made it kind of worse?

I did this


image

Its very slow now (The speed is 1) and at some point just teleports to the waypoint (I think when alpha reaches 1)

Actually no since I didn’t change it to 1, it was still at 0.1

@Ziffixture

I guess it fixed it now, after I changed it back to 1 instead of 0.1

Since it doesn’t stops now at waypoint (straight goes to next), aka alpha reaches 1 as the mob reaches waypoint

(Since I did the funny with more waypoints and didn’t name them properly, mob started going backwards, lol)

If I get problem again, I will remove the solution checkmar

Thanks for spending your time to help me!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.