Travelling along Bezier curve

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to have a part travel along a Bezier path (Table of vector 3 points)

  2. What is the issue? Include screenshots / videos if possible!
    The issue is i dont know how to efficiently and properly make the part go to each point smoothly

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried making some sort of janky tweening system that would change the tweenGoal each time it completed the prior tween but i couldnt get it to work.

Do not use tweenservice that is for linear paths not quadratic and cubic. Curves aren’t linear so you have to iterate it with loops or runservice. You have to increase the alpha until it’s 1 then stop the iteration and it should give you a smooth path.

So lerp the parts CFrame to each vector3 point in the path?

What formula are you using. I’m basing it on the roblox version where the function has 4 parameters. But yeah you’re basically just lerping 3 lerps.

1 Like

Currently I’m using Sleitnicks Bezier module to create the curve and the path points.

I was going about it the completely wrong, thanks a lot for helping me!