I'm developing a 2D game using Cocos2d-x.
Is possible to use
CCBezierTo to parameterize a sine function?
|show 1 more comment|
Just use Bezier, giving 3 points in concave section, and another 3 in convex section, its easier than give all points to do a perfect sine, and the trajectory is the same.
You could create a Bézier curve that matches a sine (read this article for an example). Creating a Bézier curve from a sine, just to feed into
I would skip