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.
Release files for panda3d-character-controller 20.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| panda3d-character-controller-20.11.1.tar.gz | 55.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| panda3d_character_controller-20.11.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 134.8 kB
Release files / panda3d-character-controller-20.11.1.tar.gz
| Download URL | panda3d-character-controller-20.11.1.tar.gz |
|---|---|
| Size | 55.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6e822ec0a1c89ca7e385abf8e30fbd2628f25a754feaf4cf11330fa95655904
|
|
BLAKE2b-256 checksum How to use checksums |
afb814f8bb2c15f0fbce7358478830e1899b50d507d36e648378dd82aa632796
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / panda3d_character_controller-20.11.1-py3-none-any.whl
| Download URL | panda3d_character_controller-20.11.1-py3-none-any.whl |
|---|---|
| Size | 79.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d82a7456f3ecbf16c2faed813fdae47daa2ac4c2fe66ae4e5719afc266efd1b1
|
|
BLAKE2b-256 checksum How to use checksums |
8ceed8ea15dd656bb15846c845b67e86b64f674f3f16cbdb5fad3a2ad26702ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|