mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-30 09:15:05 +02:00
Disable backwardsmovekey in first person
This commit is contained in:
parent
1e0fb98359
commit
0738507791
@ -718,15 +718,16 @@ Public Class OverworldCamera
|
|||||||
pressedDirection = 1
|
pressedDirection = 1
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
If (KeyBoardHandler.KeyDown(KeyBindings.BackwardMoveKey) = True Or ControllerHandler.ButtonDown(Buttons.LeftThumbstickDown) = True) And Turning = False Then
|
'// Disable turn around
|
||||||
If _freeCameraMode = True Then
|
'If (KeyBoardHandler.KeyDown(KeyBindings.BackwardMoveKey) = True Or ControllerHandler.ButtonDown(Buttons.LeftThumbstickDown) = True) And Turning = False Then
|
||||||
If _moved <= 0F Then
|
' If _freeCameraMode = True Then
|
||||||
Turn(2)
|
' If _moved <= 0F Then
|
||||||
End If
|
' Turn(2)
|
||||||
Else
|
' End If
|
||||||
pressedDirection = 2
|
' Else
|
||||||
End If
|
' pressedDirection = 2
|
||||||
End If
|
' End If
|
||||||
|
'End If
|
||||||
If (KeyBoardHandler.KeyDown(KeyBindings.RightMoveKey) = True Or ControllerHandler.ButtonDown(Buttons.RightThumbstickRight) = True) And Turning = False Then
|
If (KeyBoardHandler.KeyDown(KeyBindings.RightMoveKey) = True Or ControllerHandler.ButtonDown(Buttons.RightThumbstickRight) = True) And Turning = False Then
|
||||||
If _freeCameraMode = True Then
|
If _freeCameraMode = True Then
|
||||||
Yaw -= RotationSpeed * 40.0F * ControllerTurnModifier
|
Yaw -= RotationSpeed * 40.0F * ControllerTurnModifier
|
||||||
|
Loading…
x
Reference in New Issue
Block a user