Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panda3d-character-controller-20.11.tar.gz (54.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

panda3d_character_controller-20.11-py3-none-any.whl (78.4 kB view details)

Uploaded Python 3

File details

Details for the file panda3d-character-controller-20.11.tar.gz.

File metadata

  • Download URL: panda3d-character-controller-20.11.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6

File hashes

Hashes for panda3d-character-controller-20.11.tar.gz
Algorithm Hash digest
SHA256 f8ed951c469b5929eab99c0bcfc81c31aa785581a95fc4d9d1121b44d59a65e6
MD5 90eadae7f01f0a5b45d0f309377a6f66
BLAKE2b-256 f7cd5aac0baa870933e590865327b61aedca977ba4068a18ebaa549a11d84d38

See more details on using hashes here.

File details

Details for the file panda3d_character_controller-20.11-py3-none-any.whl.

File metadata

  • Download URL: panda3d_character_controller-20.11-py3-none-any.whl
  • Upload date:
  • Size: 78.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6

File hashes

Hashes for panda3d_character_controller-20.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b487e083a379010891c1c44098bced9d0132a1aa9e3aaa1e4a8156f68f57ae0e
MD5 2869e7734c2de96881b9af476d84297b
BLAKE2b-256 403312c8ccc98c4061e27be2df53c0b05112d6c74b12001e8d3b45c8953164fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page