I want to move the player. At first, the model is close to the ground, but after moving it will float in the air，If the y in the moveWithCollisions parameter is set to 0，so the model will not be affected by gravity. Is there any good solution?
What do you mean by “not affected by gravity”? You already set the scene’s gravity, so you shouldn’t need to move it again by a negative y value.
I think you can also simplify your example a little bit more by removing the mouse picking and just moving the model by fixed amounts, just to make sure there isn’t anything wrong in that side.
Hello @zz_dz just checking in if you still have issues