Frog falling through ground during get started tutorial (SOLVED)

(Not sure which category this should go in)

I’ve been following the getting started tutorial and when I got to the part where the frog should be running on the ground the frog falls through. Not falling as in it just ignored the ground and drops. The frog will touch the ground and then slowly descend. If I jump, the frog will push itself further down upon landing. Eventually the from is beneath the ground and off the screen and I’m not sure why. I’ve tried adjusting the collision boxes and I’ve double checked the mask and groups and they are set up just like the tutorial says. Help?

I guess you have some error in the code that separates the frog from the ground. Check your handle_geometry_contact() function.

Not sure what I should be checking for. I copy pasted the code from the tutorial exactly.

Hmmm… Can you turn on the physics debug setting in game.project?

If that reveals that the ground block is slowly falling then you need to set the ground to “Static” instead of “Dynamic”. If not, something else might showcase itself.

My ground was set wrong. It’s fixed now, thanks.

2 Likes