Weird space between my imported mesh and the ground with a ray

Hello to the whole community !

I am currently working on a TPS game but I am currently stuck.

Here is a Playground : https://www.babylonjs-playground.com/#3EDS3A#503

Using a Mesh imported from a file, I have a space between my model and the ground that I cannot eliminate. Can you give me some clues because I’ve tried everything but found nothing…

Thank you for your help !

Looks like it’s just:
playerMesh.position.y = 3
Change to 0 and your dude is on the ground.

Hi @jonarnold, thanks for your response :slight_smile:

Try to jump by pressing space several times, you will realize that the problem is still there.

There is no other way ? Is it normal that the ray is below the ground ?