Extensive character control system to be used with the Panda3D engine
Project description
Panda3D Character Controller
An extensive character controller system to be used with the Panda3D engine
Features
- Walking/Running
- Sprinting
- Jumping
- Climbing
- Wall run
- Ledge grab
- player stamina handling
- P3D integrated physics
- first person camera system
- third person camera system
- JSON configuration file
Install
Install the character controller via pip
pip install panda3d-character-controller
How to use
Using the character controller itself is quite easy, simply instantiate it and call the startPlayer function. You can set it's start position and rotation using the setStartPos and setStartHpr functions.
base.cTrav = CollisionTraverser("base collision traverser")
base.cTrav.setRespectPrevTransform(True)
# actual character setup
player = PlayerController(base.cTrav, "path/to/config.json")
# start the player
player.startPlayer()
Config
Configuration of the player is done in a json file that has to be passed to the controllers constructor. Simply copy and tweak the config file which can be found in the data folder. For further information see the PDF documentation.
PDF Documentation
An extensive documentation about the character controller can be found in the doc Folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file panda3d-character-controller-20.11.1.tar.gz
.
File metadata
- Download URL: panda3d-character-controller-20.11.1.tar.gz
- Upload date:
- Size: 55.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e822ec0a1c89ca7e385abf8e30fbd2628f25a754feaf4cf11330fa95655904 |
|
MD5 | 086e4b374c154e6f72ab9511c52714aa |
|
BLAKE2b-256 | afb814f8bb2c15f0fbce7358478830e1899b50d507d36e648378dd82aa632796 |
File details
Details for the file panda3d_character_controller-20.11.1-py3-none-any.whl
.
File metadata
- Download URL: panda3d_character_controller-20.11.1-py3-none-any.whl
- Upload date:
- Size: 79.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d82a7456f3ecbf16c2faed813fdae47daa2ac4c2fe66ae4e5719afc266efd1b1 |
|
MD5 | e88a07e7d2c5aa7ce9f311a66fd241fb |
|
BLAKE2b-256 | 8ceed8ea15dd656bb15846c845b67e86b64f674f3f16cbdb5fad3a2ad26702ab |