|
|
@@ -456,8 +456,10 @@ class GravityWalker(DirectObject.DirectObject):
|
|
|
self.speed=(forward and self.avatarControlForwardSpeed or
|
|
|
reverse and -self.avatarControlReverseSpeed)
|
|
|
# Slide speed is a scaled down version of forward speed
|
|
|
+ # Note: you can multiply a factor in here if you want slide to
|
|
|
+ # be slower than normal walk/run. Let's try full speed.
|
|
|
self.slideSpeed=(slideLeft and -self.avatarControlForwardSpeed or
|
|
|
- slideRight and self.avatarControlForwardSpeed) * 0.5
|
|
|
+ slideRight and self.avatarControlForwardSpeed)
|
|
|
self.rotationSpeed=not (slideLeft or slideRight) and (
|
|
|
(turnLeft and self.avatarControlRotateSpeed) or
|
|
|
(turnRight and -self.avatarControlRotateSpeed))
|