Platformer tutorial adding collision objects causes gravity and "hero" to float through the ground (SOLVED)

I’m using the platformer tutorial template, and when I add collision objects between the “hero” and the “coin” with the script under “coin” then when the game is built the player floats in midair into the ground.

I’ve tried uploading the compressed file from my desktop but it the file is not showing on the post.

Go back and recheck all of the settings, specifically configuration of collision objects. Also check the console for any errors. There should be none, and if there are any, please post them here.

I checked most of the settings, and found that the collision setting was set to “dynamic” instead of “kinematic” which fixed the problem. Just a question, how does the “mass” of the collision object affect the game?

Yay, good that you found the problem!

Mass only affects dynamic collision objects. The mass of an object dictates how easy it is to move it, ie how much force you must apply to get a certain velocity.

Ah okay thanks for helping!