GarbajYT / godot_updated_fps_controller

An updated basic fps controller for Godot 3.3 and 4.0
MIT License
240 stars 50 forks source link

esc missing. #8

Open TheJoshMatlock opened 2 years ago

TheJoshMatlock commented 2 years ago

After watching your video "Godot 3.2 - First Person FPS Character Controller Tutorial In 6 Minutes 3.1" I knew it was outdated, but I needed a specific part.

if Input.is_action_just_pressed("ui_cancel"): Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)

There are two things here:

  1. This crucial addition is missing from your updated version.
  2. the string above dose not work correctly in 3.2.3 or newer.

Maybe I'm doing something wrong?

I made a quick video to show what I mean. https://youtu.be/Of_oHt78Fgw