mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 13:15:00 -04:00
faster ship movement for CES demo
This commit is contained in:
parent
ad7c978ef5
commit
93a5850c7b
@ -648,6 +648,11 @@ class ShipPilot2(PhysicsWalker):
|
|||||||
self.__rotationSpeed*=1.25
|
self.__rotationSpeed*=1.25
|
||||||
maxSpeed = self.ship.maxSpeed * 4.0
|
maxSpeed = self.ship.maxSpeed * 4.0
|
||||||
|
|
||||||
|
self.__speed*=4.0
|
||||||
|
self.__slideSpeed*=4.0
|
||||||
|
self.__rotationSpeed*=1.25
|
||||||
|
maxSpeed = self.ship.maxSpeed * 4.0
|
||||||
|
|
||||||
#*#
|
#*#
|
||||||
self.currentTurning += self.__rotationSpeed
|
self.currentTurning += self.__rotationSpeed
|
||||||
if self.currentTurning > self.ship.maxTurn:
|
if self.currentTurning > self.ship.maxTurn:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user