Hi! , I am currently making a 2D platformer, and i wanted to make a seesaw obstacle like the one in the new super Mario bros series.
I tried using PinJoint but it does NOT seem to work...

MOSvisio there are two problems.
1 : when my player jumps on the platform the centre of the platform centre moves.
2 : the main problem is the fact that I don't know how to make the seesaw collide with other objects so that it does not rotate fully , and be upside down.
I attached the platform ( RigidBody2D ) to an invisible StaticBody2D placed at the centre of the platform.

    JoboGol 2 : the main problem is the fact that I don't know how to make the seesaw collide with other objects so that it does not rotate fully , and be upside down.

    Is the PinJoint2D's Disable Collision property off?

      DaveTheCoder I tried it... but it does not work properly , I even tried doing the same thing with the seesaw from the godot tutorial and it doesn't work , but thanks for the reply, I'll make sure to watch the video you linked!

        DaveTheCoder Nice! you fixed the first problem, i got the collisions wrong , but , there is still one problem:
        the platform centre moves around when it hits the ball / player. Now I'll watch the vid and see if I can sort things out!

        Thanks Again!

          14 days later

          DaveTheCoder after 2 weeks , i found a decent solution , I actually just used 2 area 2ds and 2 tweens to move the static body 2d instead of using physics, still thanks for the response!