~fireclawthefox/panda3dcodecollection/trunk

« back to all changes in this revision

Viewing changes to character/extended Char controller/controlPlugins/plug01WallRun.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:
47
47
        or char_left_collision_entry is not None \
48
48
        or char_right_collision_entry is not None \
49
49
    ) \
50
 
    and self.isDown(self.key_intel_action) \
 
50
    and self.do_intel_action \
51
51
    and self.state in self.wall_run_possible_states:
52
52
        wall_run_possible = False
53
53
        wall_normal = None