mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
slow down orbit speed
This commit is contained in:
parent
83405c4857
commit
824a81cc6c
@ -38,7 +38,7 @@ class BattleWalker(GravityWalker.GravityWalker):
|
|||||||
if run and self.speed>0.0:
|
if run and self.speed>0.0:
|
||||||
self.speed*=2.0 #*#
|
self.speed*=2.0 #*#
|
||||||
# Should fSlide be renamed slideButton?
|
# Should fSlide be renamed slideButton?
|
||||||
self.slideSpeed=.2*(turnLeft and -self.avatarControlForwardSpeed or
|
self.slideSpeed=.15*(turnLeft and -self.avatarControlForwardSpeed or
|
||||||
turnRight and self.avatarControlForwardSpeed)
|
turnRight and self.avatarControlForwardSpeed)
|
||||||
self.rotationSpeed=0
|
self.rotationSpeed=0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user