Chatgpt told me that cubic bezier curve is the most used curve for animation timing,so I struggled hours to learn it,but still experiencing some confusion though I searched everywhere.now we have the equations:
x(t):=(1−t)^3p1x + 3t(1−t)^2p2x + 3t2(1−t)p3x + t^3p4x
y(t):=(1−t)^3p1y + 3t(1−t)^2p2y + 3t2(1−t)p3y + t^3p4y
When we use the curve,we need to calculate y(t),which is the progress of animation,for a give time that is x(t),but it’s costly to deduce t,which involves solve cubic equations,I don’t think those engines like unity do this by solving cubic equations,but how?
9