Player floating above ground

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Der_tolle_Dude

I am working on a small 3D Platformer. But when I test the scene my player character is floating about 0.1 units above the ground. The collision shapes are probably not placed wrong. I am pretty new to Godot and game development in general so it is possible that I overlooked something.

what’s the code you are using?

umma | 2022-01-30 23:15

:bust_in_silhouette: Reply From: rossunger

Collision shapes are the most likely culprit.
Without seeing your code or settings it’s hard to comment on what else it could be.

Feel free to post screenshots of what’s happening, and the inspector showing how you set up your collision shapes…

Also, do you have physics and gravity enabled? :slight_smile: because without that your player isn’t gonna have any reason to fall.

rossunger | 2022-01-31 01:29

:bust_in_silhouette: Reply From: Der_tolle_Dude

I figured it out now. I changed the scale of the CapsuleShape and Godot does’t seem to like that. So I had to change the shapes height instead of changing the scale to not cause any problems.