dennylv
0
Q:

godot fps locked to jumping

GDScript

Use :

if not is_on_floor():
	skittles.y -= gravity * delta
	move_and_slide(skittles, Vector3.UP)
    
Instaid of:

if not is_on_floor():
	move_and_slide(skittles, Vector3.UP)
	skittles.y -= gravity
1

New to Communities?

Join the community