Need help with my platform to stop falling when i got on it

Godot Version

4.2.2

here’s the code

Are the collision objects set up correctly?

yes i think

1 Like

is just whenever my character steop on it starting to fall

1 Like

Is the platform a staticbody2d? If not object velocity can most likely push against it and cause it to change x/y position?

I suspect the gravity of your player character is pushing the platform object?

I fix it. It was the Mask layer the problem

1 Like