I'm still new to Godot so I apologize if my advice isn't perfect
JetteBoyTV "move_and_slide()" call. Expected at most 0 but received 3."
basically what this Error means is that the built in function move_and _slide() doesn't accept any arguments, as in you don't put anything in the parenthesis at the end, just leave it as is
JetteBoyTV velocity = move_and_slide(velocity, Vector3.UP, true)
here you put 3 arguments in the parenthesis, you gotta leave it like this "move_and_slide()"
also I've never worked with 3D before in Godot (only 2D) but I think that you might be calling move_and_slide() incorrectly, when i call move_and_slide() in my 2D games I simply just put move_and_slide() at the end of my movement function or whatever, like this
if input != 0:
if input > 0:
velocity.x += speed * delta
velocity.x = clamp(speed, 100.0, speed)
$Sprite2D.scale.x = 1
if input < 0:
velocity.x -= speed * delta
velocity.x = clamp(-speed, 100.0, -speed)
$Sprite2D.scale.x = -1
if input == 0:
velocity.x = 0
gravity_force()
move_and_slide() #I simply called it here !
I'm not sure if you can do something like
Velocity = move_and_slide()
or maybe I'm completely wrong and you can just do that in 3D !