Fix moving left/right while looking down being very slow.
Needed to normalize the 'left' vector.
This commit is contained in:
parent
0d956c691d
commit
0c897f397c
@ -97,7 +97,7 @@ class CameraKeyControls(object):
|
||||
vector = self.worldView.cameraVector
|
||||
point = self.worldView.centerPoint
|
||||
up = (0, 1, 0)
|
||||
left = vector.cross(up)
|
||||
left = vector.cross(up).normalize()
|
||||
if self.forward:
|
||||
point = point + vector
|
||||
if self.backward:
|
||||
|
Reference in New Issue
Block a user