~fireclawthefox/panda3dcodecollection/trunk

« back to all changes in this revision

Viewing changes to character/extended Char controller/PhysicsInternal.py

  • Committer: Fireclaw the Fox
  • Date: 2017-02-08 14:26:21 UTC
  • Revision ID: fireclawthefox@gmail.com-20170208142621-ljorcvore5ivwutx
Added gamepad support

- Panda3D's integrated gamepad support (preview, needs panda3d binaries build from input-overhaul branch)
- Added pyglet gamepad sample
- enhanced graphics for the extended Char controller demo

Show diffs side-by-side

added added

removed removed

Lines of Context:
289
289
        the characters main collision solids. It will check stepping as
290
290
        well as check if the character should fall or just landed
291
291
        somewhere."""
292
 
        pos = args.getSurfacePoint(self.mainNode)
293
 
 
294
292
        if self.ignore_step:
295
293
            pass
296
294
        elif self.doStep(self.state == self.STATE_IDLE):