0 votes

I recently noticed my player object had decided to show itself in the middle of the sky, despite me placing it at the ground. I still don't know how to get him down.

I have a simple script for movement (attached to player), but that hasn't been changed since everything worked. The model file with its armature has location applied in Blender and is placed with feet at origin. I really appreciate any help you can give in order to get my player down from the skies.

Here is a Google Drive link to my project files in case it's needed: Project files

enter image description here

Godot version 3.3.2
in Engine by (15 points)

1 Answer

+1 vote
Best answer

The problem is the player collision shape.
It is a giant sphere that extends way below the player's feet so when you play the game it is actually on ground but what is touching the ground is actually the big invisible sphere.

You should change the collision shape to a box or capsule and place/resize it so that it does not extend too much outside of the player mesh. Especially focus on the feet.

Moreover the collision box around the floor should not extend too much above the floor level for similar reasons.

by (288 points)
selected by

Thank you! I thought the collision shape was the cube that showed up when I clicked on the CollisionShape object. The fact that it's not is very confusing, but I'm glad you could sort it out.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.