Added basic jumping

This commit is contained in:
2025-06-20 22:11:48 -07:00
parent 8f7114431c
commit be1608b24f
3 changed files with 4 additions and 3 deletions

View File

@ -59,6 +59,7 @@ class Game is Ready {
var input = Transform.local_vector_to_world(camera, right + left, 0, fore + back)
input.y = 0
Math.normalize(input)
input.y = Input.event_began("jump", "game") ? 2 : 0
Character3D.set.input(_player, input)
}