Simple controllable character that you can use to run around in your level to get a sense of scale. No input bindings or camera set up necessary, just drag and drop into your scene. The character is 5'10. (177.8 cm)
Showcase.mp4
- Clone or download the Github repository.
- Move the repository folder (Godot-Human-For-Scale) to the root of your project.
The Godot-Human-For-Scale folder has to be at the root of your project for Godot-Human-For-Scale to work. - Drag and drop the player scene (Human-For-Scale.tscn) into the scene you want to walk around in.
- Run your scene.
Make sure your scene has colliders for the floor at least, or the player will just fall through the map!
Action | Mouse/Keyboard | Controller (Xbox) |
---|---|---|
Capture/uncapture mouse Mouse is uncaptured on start! |
ESCAPE | START |
Move | W-A-S-D | Left Stick |
Sprint (Toggle) | SHIFT | Left Stick Button |
Jump | SPACE | A |
Noclip | TILDE (~) | D-pad Up |
Switch third person/first person | V | BACK |
Zoom/focus (Toggle) | Right Click | Left Trigger |
Switch third person camera shoulders | TAB | Left Shoulder |
Pick up/throw object with physics gun | Left Click | Right Trigger |
Turn flashlight on/off | F | D-pad Down |
Mouse look not working?
A Control node is likely capturing mouse input. Find that Control node, set its Mouse Filter to Pass/Ignore.
Keyboard controls not working?
A Control node is likely capturing keyboard input, most likely a button or text box. Find that Control node, set its Focus Mode to None.
You can enable depth of field for the zoom functionality. No camera attributes setup necessary.
You can disable the character's shadow in first person view.
You can enable audio, which will enable the audio listener, footstep sounds, and physics interactions sounds.
You can enable the physics gun, which allows you to pick up and throw RigidBodies.
Uses the fantastic mannequiny from GDQuest's godot-3d-mannequin.
Uses Creative Commons sounds, attributions are here.