How do I Add Swinging Motion To Ball and Chain

0 favourites
  • 4 posts
From the Asset Store
Complete the collection by purchasing Motion Universe Pt. 2
  • 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.

  • That's the best I can come up with. But it's wrong, it lacks inertia on the chain. I don't know how to implement it, perhaps you can think of something.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey thanks eli0s

    That's exactly what i was looking for. I'll try to figure out the inertia with a little trial and error.

    You ROCK! ole wise one.

  • You are welcome (errr, young one)!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)