I am creating a platform game and I want to add a pendulum obstacle. I have a wrecking ball object with a Hinge Joint 2D swinging back and forth. The wrecking ball is released at a 90 degree angle to start the pendulum. My problem is that the angular velocity of the wrecking ball slows down over time and stops eventually. I want the wrecking ball to swing in the same way for an infinite amount of time. How could I go about acheiving this?
Any help is much appreciated