Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
float t; xyz p0;
xyz anchor0; xyz p1;
xyz anchor1; xyz p2;
xyz handle0; xyz p3;
xyz handle1; xyz p4;
xyz r;
private void Update()
{
p0 = xyz.Lerp(anchor0, handle0, t);
p1 = xyz.Lerp(handle0, handle1, t);
p2 = xyz.Lerp(handle1, anchor1, t);
p3 = xyz.Lerp(a, b, t);
p4 = xyz.Lerp(b, c, t);
r = xyz.Lerp(d, e, t);
t += Time.deltaTime * 0.25f;
//4 seconds for full circle
//draw lines between all points
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.