How to use AnimationCurve in ECS ?

Dears,I want to control some cubes to move and I need they migration path like Sine Curve,anyone has good ideal?

Probably would want to use DoTween for something simple on the main thread or just use Math.Sine itself passing through time. Need more detail tho.

Math library really needs bezier curves or sth. I will probably have to make my own at some point, shouldn’t be difficult. Could be as simple as structs Bezier2 Bezier3 and a simple evaluate method.

nice,but i am a beginner,you are Technology bosses, if you can share it with me, I will very happy.

https://catlikecoding.com/unity/tutorials/basics/building-a-graph/ haven’t dig into it, but I think that’s what you need.

google unity job system animation curve, good solutions for this have been posted several times.

Thank you!
I have another question that how do I get the position of a skeleton in the character in frame 1 and assign it to translate(struct),is it get from the component of LocalToWorldProxy?