Hello everybody, first post ever here sorry to bother you all.
Im the worst when it comes to programming, im a proffesional artist but this is new for me so, if im asking something really stupid please forgive me. So my question:
-How can I make a object (rigidbody2D, Staticbody2D, Animatablebody2D) or ANYTHING push another (rigidbody2D) like a hammer, like a plunger from a pinball. If anybody can give me a working GDScript of something that resembles a pinball plunger I will make it worth for you. I have found tutorials of Character2D using _force against objects but never a non playable character pushing other stuffs and I feel is something so basic im gonna lose my mind.
I have tried so many thing and im sure the answer is stupid so here are the things I tried and didnt work:
-Making an animated body2D that just moves fast or changes possitions very fast without /code (this doesnt work, both objects interact but there is no force applied from 1 object to the other, no matter how heavy is one respect to the other, no matter friction...)
-Making a Rigidbody2D and moving it changing its possition with /code (this also doesnt work, both objects interact but the force applied from 1 object to the other is either to low or absurd to the point of glitching)
-Making a Rigidbody2D with a child Area2D that triggers like a hurtbox on area_entered (this doesnt work because move_and_slide is not a thing in scripting anything thats not Character2D)
Thank You again and have a good day