Simple Beizer-curve module

Does the word Bezier confuse you?!
Don’t like math?!
Well I got the thing just for you!

Simple module that takes a:

  • Table containing positions
  • Percentage value (0-1)

Returns:

  • The position on the bezier curve.
    Curve that’s formed by the table provided (0 = Start, 1 = Finish).

image

Demo: Beizer.rbxl (13.9 KB)

This can be simplified alot, altho the function is moste clearly seen in this demo and can be optimized as needed by the user.

34 Likes

Math really does confuse me, this solved all my problems. Now just do this for using sin/cos/tan for positioning, transitioning and animating. :upside_down_face: Besides that, I really hate doing math, and stuff like this helps a lot… trust me.

5 Likes