Levox98 / Godot_First-Person-Controller

A first-person controller designed for "immersive sim"-like control
MIT License
32 stars 1 forks source link

Can't control it #10

Open MarneticM opened 3 months ago

MarneticM commented 3 months ago

Hi, downloaded your extension, run the map, but no kb input works. It's a fresh proj and I'm not familiar with godot yet, but I would think that wsad or arrows would move the player. And mouse doesn't work too.

Levox98 commented 2 months ago

Hi! Yes, I didn't do a good job of explaining how to set the project up. By default the controls are not set up, and you would have to manually add the actions to your project's Input Map in the settings. You can find the names of the actions on the screenshot or in the "player.gd" file at the top. image I will try adding default control mappings in the next version. If you still have questions, feel free to ask :)

Levox98 commented 2 months ago

I've updated the project so that the keys get mapped by default. I would still recommend that you add the input event in your project's Input Map. Just so that it does not map the controls every time you launch the project

MarneticM commented 2 months ago

Yo, thanks for reply. I did update the plugin but same issue. Sure, I will have to learn about how to do it anyway, but would be nice to just check what your mobility system does out of the box. I went in to project settings, input map, added Forward with W, but it still wasn't working.

Levox98 commented 2 months ago

The input action names are in quotes on the screenshot. So, for example, if you wanted to add the forward action, you would need to add "move_forward", and so on. And you would need to do that for all four directions, otherwise it won't work. Also, did you get the new version from the asset store? If so, it might not be updated yet, due to moderation. The latest releases are always here first

MarneticM commented 2 months ago

image

yeah, from AS. Probably that's why I can't get it to work. Let me get git version