I've looked over tutorials and posts but can't seem to find what I am looking for exactly, or maybe it's right in front of me and I can't see it.
I have a ball and chain that are separate sprites and pinned together at their ends. I would like the ball to swing back and forth almost in a sine movement but not in a straight line, as if you were swinging a yo-yo back and forth on a string.
I've tried using physics, revolute joint, apply force, apply torque, but can't seem to get the swing and angle right. The chain won't need to curve except for the last few links, which i have as separate sprites and pinned to their ends.
Thanks for any help or pointers.