v0.3.0
Mannequiny is a 3rd-person 3D character controller to quickly prototype games or to build a more complex playable character for your games.
Getting started
Download the source code below and unzip to get the Godot project.
See our README for more information.
Mannequiny is also available from the Godot asset library
Changelog
New features
- Smooth camera zoom in and out using the mouse wheel.
- Added debug panel to monitor object properties. Toggle open with TAB.
Improvements
- Toggle fullscreen with F11.
- Improved the light settings for nicer looking shadows.
- The
SpringArm
now projects a capsule to prevent the camera from going below the floor.
Changes
In this release, we mostly refactored and improved the code for future development, but also for the release of our 3D game creation course, based on this project.
- Refactored the code
- Use PI for angles in radians, replace magic values with constants.
- Removed unused values in the Move state.
- Removed unused jump delay feature.
- Changed the
get_look_direction
calculation for correct y inversion. - Replaced all docstrings with comment blocks.
- Use
Vector3.ZERO
constant instead ofVector3(0, 0, 0)
. - Improved encapsulation of code in the Aim state.
- Renamed input actions to all use action verbs.
- Moved mouse capture mode code to a game class, improve logic.
- Simplified camera code, in particular the rotation code.
- Simplified variables.
- Simplified and encapsulated the logic for the
AimTarget
.
Bug fixes
- Fixed
SpringArm
not returning to its start position after aiming. - Fixed type error in the latest Godot 3.2 build.
- Fixed calculating the opposite value for camera Y inversion logic.
- Fixed slow camera movement on monitors with high refresh rates. We now use
_process
instead of_physics_process
for camera movement. - Fixed a memory leak in Godot 3.2.
Known Issues
I started refactoring the Zip state, that takes the character to a wall or
ground the player is aiming at. It is not working at the moment.
The 3D character, Mannequiny, is also free and open source. You can download the Blender 2.8 source file below.
If you like our work, please star 🌟 the repository!
Support our work
This free and open-source game character is sponsored by our Godot courses
If you want to learn how to code a 3D game character like this, we made a 3D Godot course based on Mannequiny.
You can follow us on Twitter for updates, tips, and info about the new tools we release.
License
The Godot project is available under the MIT license.
The animated character made in Blender is available under the permissive Creative Commons Attribution license. You can do anything you want with it as long as you credit our work:
Mannequiny CC-By 4.0 GDQuest, Luciano Muñoz, and contributors.
We hope you'll enjoy the project! Have fun with it. 🙂