mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
added strafe back in
This commit is contained in:
parent
1c5385b973
commit
88ef2acf35
@ -72,7 +72,8 @@ class ControlManager:
|
||||
inputState.watch("run", "shift", "shift-up")
|
||||
|
||||
# FYI, ghost mode uses jump for slide.
|
||||
inputState.watch("slide", "slide-is-disabled", "slide-is-disabled")
|
||||
#inputState.watch("slide", "slide-is-disabled", "slide-is-disabled")
|
||||
inputState.watch("slide", "mouse3", "mouse3-up")
|
||||
|
||||
#inputState.watch("slideLeft", "shift-arrow_left", "shift-arrow_left-up")
|
||||
#inputState.watch("slideLeft", "control-arrow_left", "control-arrow_left-up")
|
||||
|
@ -435,7 +435,8 @@ class GravityWalker(DirectObject.DirectObject):
|
||||
reverse = inputState.isSet("reverse")
|
||||
turnLeft = inputState.isSet("turnLeft")
|
||||
turnRight = inputState.isSet("turnRight")
|
||||
slide = 0 #hack -- was: inputState.isSet("slide")
|
||||
#slide = 0 #hack -- was: inputState.isSet("slide")
|
||||
slide = inputState.isSet("slide")
|
||||
jump = inputState.isSet("jump")
|
||||
# Determine what the speeds are based on the buttons:
|
||||
self.speed=(forward and self.avatarControlForwardSpeed or
|
||||
|
Loading…
x
Reference in New Issue
Block a user